summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch')
-rw-r--r--dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch
new file mode 100644
index 000000000000..7bb0e7886a0b
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch
@@ -0,0 +1,23 @@
+--- beecrypt-4.1.2/python/debug-py.c 2004-06-20 13:09:21.000000000 +0200
++++ beecrypt-cvs/python/debug-py.c 2005-06-16 09:38:01.000000000 +0200
+@@ -1,10 +1,5 @@
+-
+-/*@unchecked@*/
+-extern PyTypeObject PyCode_Type;
+-/*@unchecked@*/
+-extern PyTypeObject PyDictIter_Type;
+-/*@unchecked@*/
+-extern PyTypeObject PyFrame_Type;
++#include "compile.h"
++#include "frameobject.h"
+
+ #include "beecrypt/python/mpw-py.h" /* XXX debug only */
+ #include "beecrypt/python/rng-py.h" /* XXX debug only */
+@@ -33,7 +28,6 @@
+ if (o->ob_type == &PyCode_Type) return "Code";
+ if (o->ob_type == &PyComplex_Type) return "Complex";
+ if (o->ob_type == &PyDict_Type) return "Dict";
+- if (o->ob_type == &PyDictIter_Type) return "DictIter";
+ if (o->ob_type == &PyFile_Type) return "File";
+ if (o->ob_type == &PyFloat_Type) return "Float";
+ if (o->ob_type == &PyFrame_Type) return "Frame";