summaryrefslogtreecommitdiff
path: root/security/libprelude/files/patch-bindings_perl_Prelude.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-07 15:07:26 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-07 15:07:26 +0000
commit5fd25bccece3d8585cdc0a8c09887bc6a54d21df (patch)
treebee69b0bc63c58db51b852e0cf36d09950304181 /security/libprelude/files/patch-bindings_perl_Prelude.c
parent- Work around KDE bug 128757. (diff)
- Update to 0.9.9
PR: ports/98585 Submitted by: maintainer
Diffstat (limited to 'security/libprelude/files/patch-bindings_perl_Prelude.c')
-rw-r--r--security/libprelude/files/patch-bindings_perl_Prelude.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/libprelude/files/patch-bindings_perl_Prelude.c b/security/libprelude/files/patch-bindings_perl_Prelude.c
new file mode 100644
index 000000000000..738d29fdbe34
--- /dev/null
+++ b/security/libprelude/files/patch-bindings_perl_Prelude.c
@@ -0,0 +1,13 @@
+--- bindings/perl/Prelude.c.orig Tue Jun 6 10:46:03 2006
++++ bindings/perl/Prelude.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