aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image/exact-image.SlackBuild
diff options
context:
space:
mode:
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 \