aboutsummaryrefslogtreecommitdiff
path: root/devel/itext
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-07-03 14:05:13 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-07-03 14:05:13 +0000
commit0d8eb16ea36155e40e537d70eb6548e3d223ae23 (patch)
tree980d6f13619b37031960aca8edba71c09d46575c /devel/itext
parentba040852c7e7bfd459c8aeed50f5336ede6e1327 (diff)
downloadports-0d8eb16ea36155e40e537d70eb6548e3d223ae23.tar.gz
ports-0d8eb16ea36155e40e537d70eb6548e3d223ae23.zip
Notes
Diffstat (limited to 'devel/itext')
-rw-r--r--devel/itext/Makefile2
-rw-r--r--devel/itext/files/patch-core_com_lowagie_text_pdf_PRTokeniser.java15
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index 4110a113cbce..4c1336c17edd 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -8,7 +8,7 @@
PORTNAME= itext
PORTVERSION= 4.2.0
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_LOCAL}
diff --git a/devel/itext/files/patch-core_com_lowagie_text_pdf_PRTokeniser.java b/devel/itext/files/patch-core_com_lowagie_text_pdf_PRTokeniser.java
new file mode 100644
index 000000000000..b9d3044f4773
--- /dev/null
+++ b/devel/itext/files/patch-core_com_lowagie_text_pdf_PRTokeniser.java
@@ -0,0 +1,15 @@
+--- core/com/lowagie/text/pdf/PRTokeniser.java.orig 2012-07-03 16:02:24.000000000 +0200
++++ core/com/lowagie/text/pdf/PRTokeniser.java 2012-07-03 16:03:30.000000000 +0200
+@@ -281,6 +281,12 @@
+ }
+ }
+ }
++ if (level > 0) {
++ file.seek(ptr);
++ type = TK_NUMBER;
++ stringValue = n1;
++ return;
++ }
+ // if we hit here, the file is either corrupt (stream ended unexpectedly),
+ // or the last token ended exactly at the end of a stream. This last
+ // case can occur inside an Object Stream.