summaryrefslogtreecommitdiff
path: root/security/libpreludedb/files/patch-bindings_perl_PreludeDB.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/libpreludedb/files/patch-bindings_perl_PreludeDB.c')
-rw-r--r--security/libpreludedb/files/patch-bindings_perl_PreludeDB.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/libpreludedb/files/patch-bindings_perl_PreludeDB.c b/security/libpreludedb/files/patch-bindings_perl_PreludeDB.c
new file mode 100644
index 000000000000..21b3a2cfd4ab
--- /dev/null
+++ b/security/libpreludedb/files/patch-bindings_perl_PreludeDB.c
@@ -0,0 +1,13 @@
+--- bindings/perl/PreludeDB.c.orig Tue Jun 6 10:46:03 2006
++++ bindings/perl/PreludeDB.c Tue Jun 6 10:46:46 2006
+@@ -14,6 +14,10 @@
+ * declarations/attributes, and other compiler dependent labels.
+ *
+ ************************************************************************/
++/* workaround to build with perl-5.005 */
++#ifndef INT2PTR
++# define INT2PTR(type, pointer) (type)(pointer)
++#endif
+
+ /* template workaround for compilers that cannot correctly implement the C++ standard */
+ #ifndef SWIGTEMPLATEDISAMBIGUATOR