summaryrefslogtreecommitdiff
path: root/print/py-Pdf/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-Pdf/patches/patch-aa')
-rw-r--r--print/py-Pdf/patches/patch-aa23
1 files changed, 23 insertions, 0 deletions
diff --git a/print/py-Pdf/patches/patch-aa b/print/py-Pdf/patches/patch-aa
new file mode 100644
index 00000000000..6cf8ff89051
--- /dev/null
+++ b/print/py-Pdf/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2010/02/10 15:31:25 joerg Exp $
+
+--- pyPdf/pdf.py.orig 2010-02-10 16:10:11.000000000 +0100
++++ pyPdf/pdf.py
+@@ -49,7 +49,6 @@ import utils
+ import warnings
+ from generic import *
+ from utils import readNonWhitespace, readUntilWhitespace, ConvertFunctionsToVirtualList
+-from sets import ImmutableSet
+
+ ##
+ # This class supports writing PDF files out, given pages produced by another
+@@ -986,8 +985,8 @@ class PageObject(DictionaryObject):
+
+ # Combine /ProcSet sets.
+ newResources[NameObject("/ProcSet")] = ArrayObject(
+- ImmutableSet(originalResources.get("/ProcSet", ArrayObject()).getObject()).union(
+- ImmutableSet(page2Resources.get("/ProcSet", ArrayObject()).getObject())
++ frozenset(originalResources.get("/ProcSet", ArrayObject()).getObject()).union(
++ frozenset(page2Resources.get("/ProcSet", ArrayObject()).getObject())
+ )
+ )
+