diff options
author | Christoph Willing <chris.willing@linux.com> | 2017-12-16 08:30:53 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-16 07:31:48 +0700 |
commit | 3c1cbc2705a59893ce8566d4da4219dcb574aba8 (patch) | |
tree | a658b20148301ba9b6d5b8507bdaa649841dc5b2 /network/uTox/uTox.SlackBuild | |
parent | 8cc7a5d922d2daacdeb1bc67f759826b001b8330 (diff) | |
download | slackbuilds-3c1cbc2705a59893ce8566d4da4219dcb574aba8.tar.gz |
network/uTox: Disable ASAN for Release builds
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'network/uTox/uTox.SlackBuild')
-rw-r--r-- | network/uTox/uTox.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild index 927ca78b6c..3554126800 100644 --- a/network/uTox/uTox.SlackBuild +++ b/network/uTox/uTox.SlackBuild @@ -20,7 +20,7 @@ PRGNAM=uTox VERSION=${VERSION:-0.16.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -58,6 +58,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION +patch -p0 < $CWD/asan_off.diff chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -66,7 +67,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Use GTK2 as default -[ GTK3=${GTK3:-no} != "yes" ] && patch -p0 < $CWD/gtk2.diff +[ "${GTK3:-no}" != "yes" ] && patch -p0 < $CWD/gtk2.diff mkdir -p build cd build |