summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-03-17 15:36:36 +0000
committerkan <kan@FreeBSD.org>2004-03-17 15:36:36 +0000
commit6dd7d61518cbc078ef80dee9fe70f68e0d1a72db (patch)
treef1e259efd2abea6d8f05e2e99c081dcc71822750 /devel
parent15ceddcc47c82e46492c6c499bab9ccece0c0ce6 (diff)
downloadFreeBSD-ports-6dd7d61518cbc078ef80dee9fe70f68e0d1a72db.zip
FreeBSD-ports-6dd7d61518cbc078ef80dee9fe70f68e0d1a72db.tar.gz
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')
-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 0000000..fbb3152
--- /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)
OpenPOWER on IntegriCloud