aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-05-31 01:15:47 +0800
committerarved <arved@FreeBSD.org>2007-05-31 01:15:47 +0800
commitb4ae23ec319a0f13aae3f98fcf121f6c9b341023 (patch)
tree984d44a24fb896460eeb42694d450fe29992a22d /lang
parent3818df4682c6de7e7e9417d38307fafcdc5e0587 (diff)
downloadfreebsd-ports-gnome-b4ae23ec319a0f13aae3f98fcf121f6c9b341023.tar.gz
freebsd-ports-gnome-b4ae23ec319a0f13aae3f98fcf121f6c9b341023.tar.zst
freebsd-ports-gnome-b4ae23ec319a0f13aae3f98fcf121f6c9b341023.zip
Fix build with gcc4
Diffstat (limited to 'lang')
-rw-r--r--lang/p5-ePerl/files/patch-eperl_proto.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/lang/p5-ePerl/files/patch-eperl_proto.h b/lang/p5-ePerl/files/patch-eperl_proto.h
index e2cc75386f2f..852e32c65977 100644
--- a/lang/p5-ePerl/files/patch-eperl_proto.h
+++ b/lang/p5-ePerl/files/patch-eperl_proto.h
@@ -1,6 +1,14 @@
---- eperl_proto.h.orig Thu Nov 21 21:26:44 2002
-+++ eperl_proto.h Thu Nov 21 21:26:50 2002
-@@ -79,7 +79,7 @@
+--- eperl_proto.h.orig Fri Jul 10 09:52:24 1998
++++ eperl_proto.h Wed May 30 19:13:42 2007
+@@ -36,6 +36,7 @@
+ #define EPERL_PROTO_H 1
+
+ /*_BEGIN_PROTO_*/
++#include "eperl_getopt.h"
+
+ /* eperl_main.c */
+ extern int mode;
+@@ -79,7 +80,7 @@
extern char *ePerl_Efwrite(char *cpBuf, int nBuf, int cNum, char *cpOut);
extern char *ePerl_Cfwrite(char *cpBuf, int nBuf, int cNum, char *cpOut);
extern char *strnchr(char *buf, char chr, int n);