summaryrefslogtreecommitdiff
path: root/network/gtorrentviewer/gtorrentviewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/gtorrentviewer/gtorrentviewer.SlackBuild')
-rw-r--r--network/gtorrentviewer/gtorrentviewer.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/gtorrentviewer/gtorrentviewer.SlackBuild b/network/gtorrentviewer/gtorrentviewer.SlackBuild
index a31e817ec3..171e6902cd 100644
--- a/network/gtorrentviewer/gtorrentviewer.SlackBuild
+++ b/network/gtorrentviewer/gtorrentviewer.SlackBuild
@@ -69,6 +69,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# The following 2 patches are from Fedora 13
+
+# Let drag and drop work with URIs as well as files
+patch -p1 < $CWD/patches/gtorrentviewer-0.2b-desktop.patch
+
+# Fix crash due to use of uninitialized GValue
+# Thanks to Niels Horn for pointing this out
+patch -p1 < $CWD/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \