From 6dd7d61518cbc078ef80dee9fe70f68e0d1a72db Mon Sep 17 00:00:00 2001 From: kan Date: Wed, 17 Mar 2004 15:36:36 +0000 Subject: Give the port a chance to work on amd64 by getting proper gettext functions prototypes from libintl.h. Defaulting to int as a return type is seldom a good news for functions returning pointers on 64bit platforms. Approved by: demon (maintainer) --- devel/p5-Locale-gettext/files/patch-gettext.xs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/p5-Locale-gettext/files/patch-gettext.xs (limited to 'devel/p5-Locale-gettext') diff --git a/devel/p5-Locale-gettext/files/patch-gettext.xs b/devel/p5-Locale-gettext/files/patch-gettext.xs new file mode 100644 index 000000000000..fbb31527f51f --- /dev/null +++ b/devel/p5-Locale-gettext/files/patch-gettext.xs @@ -0,0 +1,10 @@ +--- gettext.xc.orig Tue Mar 16 15:26:42 2004 ++++ gettext.xs Tue Mar 16 15:27:04 2004 +@@ -2,6 +2,7 @@ + #include "perl.h" + #include "XSUB.h" + #include ++#include + + static double + constant(name, arg) -- cgit