aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image/exact-image.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 09:11:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 09:11:28 +0700
commitcc0cfeb3939487923509541e178c27711dfe1d56 (patch)
tree54cbaa208127049756e88126f533e23bbb0e3ff3 /graphics/exact-image/exact-image.SlackBuild
parent11872f9f213da332718dd9a948ef855bd6ffcfeb (diff)
graphics/exact-image: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/exact-image/exact-image.SlackBuild')
-rw-r--r--graphics/exact-image/exact-image.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index 790c5c86318de..062349e00f9a5 100644
--- a/graphics/exact-image/exact-image.SlackBuild
+++ b/graphics/exact-image/exact-image.SlackBuild
@@ -56,12 +56,15 @@ sed "s,@vendorlib@,$vendorlib,g" $CWD/fixup-perl_paths.diff | patch -p1 --verbos
# Fix for swig-3.0.7
sed -i -e '/^# manually/d' api/api-swig.hh
+patch -p1 < $CWD/c98.patch
+patch -p1 < $CWD/raw.patch
+
./configure \
--bindir=/usr/bin \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--without-php
-make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
+make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS -Wno-narrowing -fpermissive"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \