From a077b3877a297caf47b92196f903167fdb28e96f Mon Sep 17 00:00:00 2001 From: Binh Nguyen Date: Wed, 15 Dec 2010 20:01:05 -0200 Subject: network/gtorrentviewer: Included two patches. Signed-off-by: Niels Horn --- network/gtorrentviewer/gtorrentviewer.SlackBuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'network/gtorrentviewer/gtorrentviewer.SlackBuild') 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 \ -- cgit v1.2.3