summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 09:35:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 09:35:52 +0700
commit230c7d9ebbfa50a98caac9394cb33fb64b5d28bf (patch)
treed0fab854c773a404718ea06284668117d7d476b1
parent38e7df7326b153e7dc8752c0f442f3dbd0a46b88 (diff)
downloadslackbuilds-230c7d9ebbfa50a98caac9394cb33fb64b5d28bf.tar.gz
libraries/libewf: Patch for newer GCC.
Thanks to _Gin in LQ. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libewf/libewf.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libewf/libewf.SlackBuild b/libraries/libewf/libewf.SlackBuild
index 5ab18d63e4..189e2189b8 100644
--- a/libraries/libewf/libewf.SlackBuild
+++ b/libraries/libewf/libewf.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=libewf
STATUS=${STATUS:-experimental}
VERSION=${VERSION:-20150126}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,7 +73,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \