summaryrefslogtreecommitdiff
path: root/network/newsbeuter/newsbeuter.SlackBuild
diff options
context:
space:
mode:
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 423f2b3456..5fb4e8a2d2 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 \