From cc37bfa800bf8da50f6d80ad513689a945696554 Mon Sep 17 00:00:00 2001 From: Binh Nguyen Date: Tue, 21 Aug 2012 22:52:45 -0500 Subject: network/gtorrentviewer: Fixed to build against newer cURL Signed-off-by: Binh Nguyen Signed-off-by: Robby Workman --- network/gtorrentviewer/gtorrentviewer.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'network/gtorrentviewer') 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 +# Copyright 2010, 2012 Binh Nguyen # 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 ||g' src/main.c + # The following 2 patches are from Fedora 13 # Let drag and drop work with URIs as well as files -- cgit v1.2.3