summaryrefslogtreecommitdiff
path: root/libraries/gtkhtml/gtkhtml.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtkhtml/gtkhtml.SlackBuild')
-rw-r--r--libraries/gtkhtml/gtkhtml.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/gtkhtml/gtkhtml.SlackBuild b/libraries/gtkhtml/gtkhtml.SlackBuild
index cd85543379..1b1bdf5350 100644
--- a/libraries/gtkhtml/gtkhtml.SlackBuild
+++ b/libraries/gtkhtml/gtkhtml.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=gtkhtml
VERSION=3.18.3
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -74,6 +72,10 @@ find . \
# Allow deprecated functions so the build can finish
patch -p1 < $CWD/gtkhtml-3.18.3-allow_deprecated_functions.diff || exit 1
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \