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.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/gtorrentviewer/gtorrentviewer.SlackBuild b/network/gtorrentviewer/gtorrentviewer.SlackBuild
index 171e6902cd..2e8842f4e5 100644
--- a/network/gtorrentviewer/gtorrentviewer.SlackBuild
+++ b/network/gtorrentviewer/gtorrentviewer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gtorrentviewer
-# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2010, 2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=gtorrentviewer
VERSION=${VERSION:-0.2b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix building against newer cURL
+sed -i 's|#include <curl/types.h>||g' src/main.c
+
# The following 2 patches are from Fedora 13
# Let drag and drop work with URIs as well as files