aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia/dia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia/dia.SlackBuild')
-rw-r--r--graphics/dia/dia.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index e12e86a37e806..24b8b00626c36 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=dia
VERSION=0.97.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,9 @@ chmod -R u+w,go+r-w,a-s .
# Fix the location of the French manpages.
sed -i 's/$(datadir)\/man/@mandir@/' doc/fr/Makefile.in
+# patch for glib >= 2.31 (thanks gentoo people)
+patch -p1 < $CWD/dia-0.97.2-glib-2.31.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \