summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-03-17 15:36:36 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-03-17 15:36:36 +0000
commit3e09003d7d6eb8c7d712fd61dde9c6924b930209 (patch)
tree111507ca4983643246d75ca55269eb5e479225df
parent8c188655212d0f731e1d29425d1c4f6467f3c4e0 (diff)
downloadfreebsd-ports-3e09003d7d6eb8c7d712fd61dde9c6924b930209.zip
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)
-rw-r--r--devel/p5-Locale-gettext/files/patch-gettext.xs10
1 files changed, 10 insertions, 0 deletions
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 <string.h>
++#include <libintl.h>
+
+ static double
+ constant(name, arg)