summaryrefslogtreecommitdiff
path: root/office/pdfedit/pdfedit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfedit/pdfedit.SlackBuild')
-rw-r--r--office/pdfedit/pdfedit.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/office/pdfedit/pdfedit.SlackBuild b/office/pdfedit/pdfedit.SlackBuild
index 091d9470cc..de6468cfb3 100644
--- a/office/pdfedit/pdfedit.SlackBuild
+++ b/office/pdfedit/pdfedit.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=pdfedit
VERSION=0.4.5
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -50,6 +50,9 @@ chmod -R u+w,go+r-w,a-s .
printf "/usr/share/xml/docbook/xsl-stylesheets-*/html\n" >> \
doc/tools/docbook_xslt_paths
+# Patch for gcc 4.7.
+patch -p0 -i $CWD/gcc47.patch
+
ARCH="" \
C_EXTRA="$SLKCFLAGS" \
CXX_EXTRA="$SLKCFLAGS" \