From 3dbf74d2ffa6f8fa147f22edf2dd887a135237bb Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 9 Sep 2014 09:45:01 +0700 Subject: [PATCH] json-c: Upgraded to 0.12. Signed-off-by: Willy Sudiarto Raharjo --- json-c/json-c.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/json-c/json-c.SlackBuild b/json-c/json-c.SlackBuild index 51ef7e1..2e4ae77 100644 --- a/json-c/json-c.SlackBuild +++ b/json-c/json-c.SlackBuild @@ -7,7 +7,7 @@ # Modified by Willy Sudiarto Raharjo for CSB Project PRGNAM=json-c -VERSION=${VERSION:-0.11} +VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_csb} @@ -53,9 +53,9 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -Wno-error" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -71,8 +71,7 @@ make -j1 make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL README* doc/html \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL README* doc/html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install