diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-21 19:14:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-21 19:14:35 +0000 |
commit | 9ab159127d0af254f9ce158bbc94ab4a6502920e (patch) | |
tree | 02a244f6f838761c51cc858bd98141786ea18bb0 /security/libprelude/files | |
parent | d996bbed9cb6ba08c8f4883b6cef0ca4756d8b6b (diff) |
Notes
Diffstat (limited to 'security/libprelude/files')
-rw-r--r-- | security/libprelude/files/patch-bindings_perl_Prelude.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/security/libprelude/files/patch-bindings_perl_Prelude.c b/security/libprelude/files/patch-bindings_perl_Prelude.c index 738d29fdbe34..144066a2dccb 100644 --- a/security/libprelude/files/patch-bindings_perl_Prelude.c +++ b/security/libprelude/files/patch-bindings_perl_Prelude.c @@ -1,13 +1,14 @@ ---- 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 @@ +--- bindings/perl/Prelude.c.orig Sat Dec 16 10:04:05 2006 ++++ bindings/perl/Prelude.c Thu Dec 21 11:02:42 2006 +@@ -15,6 +15,11 @@ * 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 + # if defined(__SUNPRO_CC) |