diff options
author | Binh Nguyen <binhnguyen@fastmail.fm> | 2012-08-21 22:52:45 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 23:09:24 -0500 |
commit | cc37bfa800bf8da50f6d80ad513689a945696554 (patch) | |
tree | 69994d48cc2344eaf24591697cecb301471ed994 /network | |
parent | c2da42235c5368799fdc78d7cfaf74ca54f130ed (diff) | |
download | slackbuilds-cc37bfa800bf8da50f6d80ad513689a945696554.tar.gz |
network/gtorrentviewer: Fixed to build against newer cURL
Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/gtorrentviewer/gtorrentviewer.SlackBuild | 7 |
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 |