summaryrefslogtreecommitdiff
path: root/print/poppler/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-02-01 21:12:41 +0000
committerdrochner <drochner@pkgsrc.org>2008-02-01 21:12:41 +0000
commitf2954877343a373fe9347972b224c75d70ff00fe (patch)
tree7f001f2a91500741eda6838ca840d77706f61840 /print/poppler/patches
parent5283bde619ea4a3e3f53fcabdb3de21e6ef679c4 (diff)
downloadpkgsrc-f2954877343a373fe9347972b224c75d70ff00fe.tar.gz
update to 0.6.4
changes: -Fix crash in the Splash renderer when T3 fonts are badly defined -Draw underlined Links correctly -utils: Fix two use after free bugs in HtmlOutputDev.cc -some fixes to the qt4 frontend
Diffstat (limited to 'print/poppler/patches')
-rw-r--r--print/poppler/patches/patch-ae22
-rw-r--r--print/poppler/patches/patch-af27
2 files changed, 0 insertions, 49 deletions
diff --git a/print/poppler/patches/patch-ae b/print/poppler/patches/patch-ae
deleted file mode 100644
index c88e9c037a0..00000000000
--- a/print/poppler/patches/patch-ae
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2007/11/28 20:54:38 drochner Exp $
-
---- poppler/Gfx.cc.orig 2007-11-28 20:59:16.000000000 +0100
-+++ poppler/Gfx.cc
-@@ -4014,7 +4014,7 @@ void Gfx::opBeginMarkedContent(Object ar
- if (printCommands) {
- printf(" marked content: %s ", args[0].getName());
- if (numArgs == 2)
-- args[2].print(stdout);
-+ args[1].print(stdout);
- printf("\n");
- fflush(stdout);
- }
-@@ -4034,7 +4034,7 @@ void Gfx::opMarkPoint(Object args[], int
- if (printCommands) {
- printf(" mark point: %s ", args[0].getName());
- if (numArgs == 2)
-- args[2].print(stdout);
-+ args[1].print(stdout);
- printf("\n");
- fflush(stdout);
- }
diff --git a/print/poppler/patches/patch-af b/print/poppler/patches/patch-af
deleted file mode 100644
index f7c7cf5b7f4..00000000000
--- a/print/poppler/patches/patch-af
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-af,v 1.3 2007/11/28 20:54:38 drochner Exp $
-
---- glib/poppler-document.cc.orig 2007-11-28 21:04:53.000000000 +0100
-+++ glib/poppler-document.cc
-@@ -137,8 +137,20 @@ poppler_document_new_from_file (const ch
- g_free (filename);
-
- password_g = NULL;
-- if (password != NULL)
-- password_g = new GooString (password);
-+ if (password != NULL) {
-+ if (g_utf8_validate (password, -1, NULL)) {
-+ gchar *password_latin;
-+
-+ password_latin = g_convert (password, -1,
-+ "ISO-8859-1",
-+ "UTF-8",
-+ NULL, NULL, NULL);
-+ password_g = new GooString (password_latin);
-+ g_free (password_latin);
-+ } else {
-+ password_g = new GooString (password);
-+ }
-+ }
-
- newDoc = new PDFDoc(filename_g, password_g, password_g);
- if (password_g)