summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-05 22:16:06 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-05 22:16:06 +0000
commitf61439ffe3da2079f1249458e5eb1a4c7c7c1c9c (patch)
tree5120d4efd0117f03aee4fc08d6ea7cf35cd0cce4 /app-text/pdftk/files
parentNew cdrtools can write as user again. (diff)
downloadgentoo-2-f61439ffe3da2079f1249458e5eb1a4c7c7c1c9c.tar.gz
gentoo-2-f61439ffe3da2079f1249458e5eb1a4c7c7c1c9c.tar.bz2
gentoo-2-f61439ffe3da2079f1249458e5eb1a4c7c7c1c9c.zip
Add user_pw only support, thanks to Georg Sauthoff <g_sauthoff@web.de> in bug 127891 and remove old ebuilds
(Portage version: 2.1_rc4-r2)
Diffstat (limited to 'app-text/pdftk/files')
-rw-r--r--app-text/pdftk/files/pdftk-1.12-user-pw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/pdftk/files/pdftk-1.12-user-pw.patch b/app-text/pdftk/files/pdftk-1.12-user-pw.patch
new file mode 100644
index 000000000000..58fee35c4fa2
--- /dev/null
+++ b/app-text/pdftk/files/pdftk-1.12-user-pw.patch
@@ -0,0 +1,12 @@
+diff -ur -x '*.o' -x '*.a' -x '*.class' -x tags -x '*.h' -x pdftk pdftk-1.12.orig/java_libs/com/lowagie/text/pdf/PdfReader.java pdftk-1.12/java_libs/com/lowagie/text/pdf/PdfReader.java
+--- pdftk-1.12.orig/java_libs/com/lowagie/text/pdf/PdfReader.java 2004-10-23 02:22:44.000000000 +0200
++++ pdftk-1.12/java_libs/com/lowagie/text/pdf/PdfReader.java 2006-03-28 21:15:37.000000000 +0200
+@@ -107,7 +107,7 @@
+ protected char pdfVersion;
+ protected PdfEncryption decrypt;
+ protected byte password[] = null; //added by ujihara for decryption
+- protected boolean passwordIsOwner= false; // added by ssteward
++ protected boolean passwordIsOwner= true;
+ protected ArrayList strings = new ArrayList();
+ protected boolean sharedStreams = true;
+ protected boolean consolidateNamedDestinations = false;