aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Locale-gettext
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-03-17 23:36:36 +0800
committerkan <kan@FreeBSD.org>2004-03-17 23:36:36 +0800
commit6dd7d61518cbc078ef80dee9fe70f68e0d1a72db (patch)
treef1e259efd2abea6d8f05e2e99c081dcc71822750 /devel/p5-Locale-gettext
parent15ceddcc47c82e46492c6c499bab9ccece0c0ce6 (diff)
downloadfreebsd-ports-gnome-6dd7d61518cbc078ef80dee9fe70f68e0d1a72db.tar.gz
freebsd-ports-gnome-6dd7d61518cbc078ef80dee9fe70f68e0d1a72db.tar.zst
freebsd-ports-gnome-6dd7d61518cbc078ef80dee9fe70f68e0d1a72db.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)
Diffstat (limited to 'devel/p5-Locale-gettext')
-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)