summaryrefslogtreecommitdiff
path: root/business/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-24 22:01:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-25 00:13:12 -0400
commit031b54d0d3beb1846bf599cbe1dbc84364d718de (patch)
treeb2191cc39e4001a3917f5f6ab221eef5305b9aac /business/gnucash/gnucash.SlackBuild
parent8a905fad57b3a5279dd07411469db5bac83d743e (diff)
downloadslackbuilds-031b54d0d3beb1846bf599cbe1dbc84364d718de.tar.gz
business/gnucash: Patched for glib 2.32+
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 \