From 3c1cbc2705a59893ce8566d4da4219dcb574aba8 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sat, 16 Dec 2017 08:30:53 +1000 Subject: network/uTox: Disable ASAN for Release builds Signed-off-by: Christoph Willing --- network/uTox/uTox.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'network/uTox/uTox.SlackBuild') 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 -- cgit v1.2.3