Commit 26b0af99 authored by Łukasz Nowak's avatar Łukasz Nowak

- more patches related to compilation of pdftk on various machines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38833 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 43c3eea9
Took from http://bugs.gentoo.org/show_bug.cgi?id=269312
Reformatted for easier patching.
diff -NrU5 java_libs/com/lowagie/text/pdf/PdfDate.java pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfDate.java
--- java_libs/com/lowagie/text/pdf/PdfDate.java 2009-05-18 20:49:13.000000000 -0600
+++ java_libs/com/lowagie/text/pdf/PdfDate.java 2009-05-18 20:51:36.000000000 -0600
@@ -74,11 +74,11 @@
public class PdfDate extends PdfString {
// ssteward; static builds of pdftk (Windows, gcc 3.3.1) would
// omit this class because of its reference by reflection;
// this treatment ensures that ld will include it
- private static Class c1= gnu.java.locale.Calendar.class;
+ private static Class c1= java.util.Calendar.class;
private static final int dateSpace[] = {Calendar.YEAR, 4, 0, Calendar.MONTH, 2, -1, Calendar.DAY_OF_MONTH, 2, 0,
Calendar.HOUR_OF_DAY, 2, 0, Calendar.MINUTE, 2, 0, Calendar.SECOND, 2, 0};
// constructors
--- /home/luke/work/P-SAFI/pdftk/pdftk-1.41/pdftk/Makefile.RedHat 2006-09-21 19:37:38.000000000 +0200
+++ pdftk/Makefile.RedHat 2010-10-01 14:50:10.000000000 +0200
@@ -26,7 +26,7 @@
# 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
+CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers -I/usr/include/libgcj-4.4.3/
CXXFLAGS= -lgcj
# itext compiler flags
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment