aboutsummaryrefslogtreecommitdiff
path: root/network/newsbeuter/newsbeuter.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2012-12-28 06:46:36 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-28 06:46:52 +0100
commita1cbe548c7b636310c8c08d174408b3508aa3111 (patch)
tree75e06eb8ccc21b3b5ef2e2ef843215570af7eeb2 /network/newsbeuter/newsbeuter.SlackBuild
parent17243302b7172a4659c7eb9c6e1edede0f5777c8 (diff)
network/newsbeuter: Added a patch for the newer json-c.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/newsbeuter/newsbeuter.SlackBuild')
-rw-r--r--network/newsbeuter/newsbeuter.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/newsbeuter/newsbeuter.SlackBuild b/network/newsbeuter/newsbeuter.SlackBuild
index 423f2b3456a1c..5fb4e8a2d2922 100644
--- a/network/newsbeuter/newsbeuter.SlackBuild
+++ b/network/newsbeuter/newsbeuter.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=newsbeuter
VERSION=${VERSION:-2.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
case "$( uname -m )" in
@@ -50,7 +50,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
+# patch for GCC header changes
patch -p1 --verbose < $CWD/unistd.diff
+# patch for json-c api change
+patch -p1 --verbose < $CWD/json-c.diff
CXXFLAGS="$SLKCFLAGS" \
make \