summaryrefslogtreecommitdiffstats
path: root/business/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'business/gnucash/gnucash.SlackBuild')
-rw-r--r--business/gnucash/gnucash.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild
index 8b597ffda0..fe63a32226 100644
--- a/business/gnucash/gnucash.SlackBuild
+++ b/business/gnucash/gnucash.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gnucash
VERSION=2.4.5
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -92,6 +92,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# 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 \