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.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index 1f2f16754c44..0ac1d62b6bae 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=dia
VERSION=0.97.2
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,8 +55,9 @@ find -L . \
# 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
+# apply patches from upstream
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \