diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-14 18:10:42 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-14 14:32:29 -0600 |
commit | e7d0166e6028cf6df039784800f17860a13f7e65 (patch) | |
tree | ddaefefc50259eccc6815b2f76797965f93334ab /libraries/libopensync | |
parent | 000664856e186b1cc2628e4e027079fd9716f737 (diff) |
libraries/libopensync: Use -Wno-error
Thanks to Ponce
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libopensync')
-rw-r--r-- | libraries/libopensync/libopensync.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libraries/libopensync/libopensync.SlackBuild b/libraries/libopensync/libopensync.SlackBuild index db086c77a2418..105317dc38863 100644 --- a/libraries/libopensync/libopensync.SlackBuild +++ b/libraries/libopensync/libopensync.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libopensync VERSION=0.22 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,7 +63,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; # Cmake-based build-system used by libopensync >= 0.30 # Uncomment this if you want to build newer versions. @@ -80,8 +84,8 @@ sed -i "s%python_path/lib%python_path/lib${LIBDIRSUFFIX}%g" acinclude.m4 autoreconf -i -CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \ -CXXFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \ +CFLAGS="$SLKCFLAGS -Wno-error" \ +CXXFLAGS="$SLKCFLAGS -Wno-error" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -98,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ + AUTHORS COPYING INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |