aboutsummaryrefslogtreecommitdiff
path: root/office/pdfedit/pdfedit.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-25 18:50:55 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-25 18:52:01 -0400
commitab89e742f0435b9a22f2fb4c09246de7707514db (patch)
tree2b864600cdb7ce8d35f67b423fa48fcb0fad43a9 /office/pdfedit/pdfedit.SlackBuild
parent1e14cdb1c3bb61ddf1f775c69011eb6782bce88e (diff)
office/pdfedit: Patched for gcc 4.7
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 091d9470cc3e..de6468cfb3d6 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" \