summaryrefslogtreecommitdiff
path: root/graphics/dia/dia.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-07-24 12:31:02 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:28 -0500
commitba69e24e69e88a9ebd6da2d12c3c77b65ce42de0 (patch)
treeff7f4d9ec64ec78c60049aeef558aa5274bbf035 /graphics/dia/dia.SlackBuild
parent434fe3357560bbb6df97e45cb3efbeeadb909164 (diff)
downloadslackbuilds-ba69e24e69e88a9ebd6da2d12c3c77b65ce42de0.tar.gz
graphics/dia: Included a patch for glib >= 2.31.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 e12e86a37e..24b8b00626 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 \