diff options
Diffstat (limited to 'libraries/barry/barry.SlackBuild')
-rw-r--r-- | libraries/barry/barry.SlackBuild | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/libraries/barry/barry.SlackBuild b/libraries/barry/barry.SlackBuild index 589c17485425d..7948654cda56f 100644 --- a/libraries/barry/barry.SlackBuild +++ b/libraries/barry/barry.SlackBuild @@ -7,16 +7,13 @@ ## http://sourceforge.net/projects/barry/ ## ## Written by "Vincent Batts <vbatts@batts.mine.nu>" -## -## opensync consideration added thanks -## to "Heinz Wiesinger <HMWiesinger@gmx.at>" # Modified by Robby Workman <rworkman@slackbuilds.org> # Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=barry VERSION=${VERSION:-0.18.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -37,14 +34,6 @@ OUTPUT=${OUTPUT:-/tmp} # BARRY_GROUP=barry ./barry.SlackBuild BARRY_GROUP=${BARRY_GROUP:-plugdev} -# Enable opensync-plugin? -OPENSYNC=${OPENSYNC:-no} - -case "$OPENSYNC" in - no) opensync_opt="dis" ;; - *) opensync_opt="en" ;; -esac - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -77,8 +66,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# Debian fixes +patch -p1 -i $CWD/fix-sizeof-use.patch + +# Fix C++11 compatibilty (taken from Arch) +patch -p1 -i $CWD/c++11.patch + +CFLAGS="$SLKCFLAGS -std=c++11" \ +CXXFLAGS="$SLKCFLAGS -std=c++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -86,7 +81,6 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --enable-boost \ --enable-gui \ - --${opensync_opt}able-opensync-plugin \ --build=$ARCH-slackware-linux make |