summaryrefslogtreecommitdiffstats
path: root/kde/patch/ktorrent.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-05-11 15:17:12 +0200
committer Eric Hameleers <alien@slackware.com>2019-05-11 15:17:12 +0200
commit5cb2f7c9574c7380f4ef4280b836ea9c231856d3 (patch)
tree1935418a9a9a4154c1daf4961e311be33e89698a /kde/patch/ktorrent.patch
parent5434f714576ccde9bf1c1e300ede6fc1ba0ac3ed (diff)
downloadktown-5cb2f7c9574c7380f4ef4280b836ea9c231856d3.tar.gz
ktown-5cb2f7c9574c7380f4ef4280b836ea9c231856d3.tar.xz
ktorrent: embed a local copy of the GeoIP database
The online version of GeoIP has been discontinued in favor of a new API. The ktorrent code has not been updated for the new API and therefore the program spits out a download error for geoip.dat everytime it starts. By embedding a local copy of the database, a download is not attempted and the error is gone.
Diffstat (limited to 'kde/patch/ktorrent.patch')
-rw-r--r--kde/patch/ktorrent.patch3
1 files changed, 3 insertions, 0 deletions
diff --git a/kde/patch/ktorrent.patch b/kde/patch/ktorrent.patch
new file mode 100644
index 0000000..123f3af
--- /dev/null
+++ b/kde/patch/ktorrent.patch
@@ -0,0 +1,3 @@
+# Embed a copy of the GeoIP database since the download link no longer works.
+cat $CWD/patch/ktorrent/ktorrent.use.package.geoip.database.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+