diff options
author | Yalla-One <yallaone@gmail.com> | 2010-05-13 00:39:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:39:25 +0200 |
commit | 53ab76d880c3fe7fb113117f40b1c7db160028bc (patch) | |
tree | 48f99d2d009a617c92c35ea1f271c30fa2c56f15 /office/pdftk/pdftk-1.41-add_custom_optflags.patch | |
parent | 78d31b3e0dffe0794c17830293d9448e6190341f (diff) | |
download | slackbuilds-53ab76d880c3fe7fb113117f40b1c7db160028bc.tar.gz |
office/pdftk: Updated for version 1.41
Diffstat (limited to 'office/pdftk/pdftk-1.41-add_custom_optflags.patch')
-rw-r--r-- | office/pdftk/pdftk-1.41-add_custom_optflags.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/office/pdftk/pdftk-1.41-add_custom_optflags.patch b/office/pdftk/pdftk-1.41-add_custom_optflags.patch new file mode 100644 index 0000000000..b81e10e1a6 --- /dev/null +++ b/office/pdftk/pdftk-1.41-add_custom_optflags.patch @@ -0,0 +1,20 @@ +diff -Nur pdftk-1.41.orig/pdftk/Makefile.Generic pdftk-1.41/pdftk/Makefile.Generic +--- pdftk-1.41.orig/pdftk/Makefile.Generic 2006-09-21 12:37:12.000000000 -0500 ++++ pdftk-1.41/pdftk/Makefile.Generic 2009-11-26 00:03:40.823641779 -0600 +@@ -23,12 +23,13 @@ + # if you want pdftk to ask before overwriting a file, set + # ASK_ABOUT_WARNINGS to true; otherwise: false; override this default + # with the dont_ask or do_ask command-line options +-CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers +-CXXFLAGS= -lgcj ++OPT= -O2 ++CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers ++CXXFLAGS= $(OPT) -lgcj + + # itext compiler flags + # -O3 might cause pdftk to segfault on cat operation (gcc 3.4.4) +-export GCJFLAGS= -O2 ++export GCJFLAGS= $(OPT) -w + + # + export ARFLAGS= rs |