diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:05:41 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:42:17 -0400 |
commit | 2ae817b123d57b8cae626075b526b98cf9d3a628 (patch) | |
tree | 360dcf6eeb56a19f14620a94474432d772bef9dc /libraries/gtkhtml/gtkhtml.SlackBuild | |
parent | c82ea210efe517b0625f0132a80a754078e1efb0 (diff) |
libraries/gtkhtml: Patched for glib 2.32+
Diffstat (limited to 'libraries/gtkhtml/gtkhtml.SlackBuild')
-rw-r--r-- | libraries/gtkhtml/gtkhtml.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/gtkhtml/gtkhtml.SlackBuild b/libraries/gtkhtml/gtkhtml.SlackBuild index cd8554337933b..1b1bdf53506c5 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 \ |