summaryrefslogtreecommitdiff
path: root/office/pdftk/pdftk-1.44-add_custom_optflags.patch
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2010-11-29 21:54:55 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-05 20:01:48 -0600
commit490a6320980886687f1a34d372ec36927f4dd9a2 (patch)
tree4ea59328f043aa9bc960c59bc0dfe46bda41e422 /office/pdftk/pdftk-1.44-add_custom_optflags.patch
parent31547ab4fb04017b5d01feb83c9cdd701982de88 (diff)
downloadslackbuilds-490a6320980886687f1a34d372ec36927f4dd9a2.tar.gz
office/pdftk: Updated for version 1.44.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/pdftk/pdftk-1.44-add_custom_optflags.patch')
-rw-r--r--office/pdftk/pdftk-1.44-add_custom_optflags.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/office/pdftk/pdftk-1.44-add_custom_optflags.patch b/office/pdftk/pdftk-1.44-add_custom_optflags.patch
new file mode 100644
index 0000000000..660073115f
--- /dev/null
+++ b/office/pdftk/pdftk-1.44-add_custom_optflags.patch
@@ -0,0 +1,26 @@
+diff -Nurp pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1
+--- pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 2010-10-25 20:04:51.000000000 +0100
++++ pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1 2010-10-31 01:44:31.000000000 +0000
+@@ -34,7 +34,7 @@ export CXX= $(TOOLPATH)g++
+ export GCJ= $(TOOLPATH)gcj
+ export GCJH= $(TOOLPATH)gcjh
+ export GJAR= $(TOOLPATH)gjar
+-export LIBGCJ= /usr/share/java/libgcj$(VERSUFF).jar
++export LIBGCJ= /usr/share/java
+ export AR= ar
+ export RM= rm
+ export ARFLAGS= rs
+@@ -71,9 +71,10 @@ export RMFLAGS= -vf
+ # only effects libraries following option on the command line
+ #
+ #
+-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
+-export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
+-export GCJFLAGS= -Wall -fsource=1.3 -O2
++export OPT= -O2
++export CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
++export CXXFLAGS= $(OPT) -Wall -Wextra -Weffc++
++export GCJFLAGS= $(OPT) -Wall -fsource=1.3
+ export GCJHFLAGS= -force
+ export LDLIBS= -lgcj
+