summaryrefslogtreecommitdiff
path: root/security/libpreludedb/files/patch-bindings_perl_PreludeDB.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-07 15:08:09 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-07 15:08:09 +0000
commit71ea4d6b610d9f2c8f8829269c301bc460fd33fc (patch)
treecbb2ac26e3311eebfb607f1ff4d902eb0c1afd80 /security/libpreludedb/files/patch-bindings_perl_PreludeDB.c
parent- Update to 0.9.9 (diff)
- Update to 0.9.8
PR: ports/98589 Submitted by: maintainer
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