diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-21 18:29:47 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-21 18:29:47 +0800 |
commit | bde03c7e8c5f983852012dd4b42bed402019622e (patch) | |
tree | adff67eb850cec7377d068a8467f9933d019a308 | |
parent | 806d524742c4ed55599fb0527598fb0eb8e7e09a (diff) | |
download | freebsd-ports-graphics-bde03c7e8c5f983852012dd4b42bed402019622e.tar.gz freebsd-ports-graphics-bde03c7e8c5f983852012dd4b42bed402019622e.tar.zst freebsd-ports-graphics-bde03c7e8c5f983852012dd4b42bed402019622e.zip |
Make lang/p5-ePerl compiling again.
Seen on: bento
-rw-r--r-- | lang/p5-ePerl/files/patch-configure (renamed from lang/p5-ePerl/files/patch-aa) | 13 | ||||
-rw-r--r-- | lang/p5-ePerl/files/patch-eperl_parse.c | 18 | ||||
-rw-r--r-- | lang/p5-ePerl/files/patch-eperl_proto.h | 11 |
3 files changed, 40 insertions, 2 deletions
diff --git a/lang/p5-ePerl/files/patch-aa b/lang/p5-ePerl/files/patch-configure index 1fb2377c53d..53f118cd45b 100644 --- a/lang/p5-ePerl/files/patch-aa +++ b/lang/p5-ePerl/files/patch-configure @@ -1,5 +1,14 @@ ---- configure Sun Aug 2 09:48:40 1998 -+++ configure.new Fri Jun 16 19:59:15 2000 +--- configure.orig Sun Aug 2 23:48:40 1998 ++++ configure Thu Nov 21 21:20:23 2002 +@@ -571,7 +571,7 @@ + if test "${with_perl+set}" = set; then + withval="$with_perl" + perlprog=$with_perl +-perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'` ++perlvers=`$perlprog -e 'print $]'` + + else + TMPFILE=/tmp/x.$$ @@ -901,7 +901,6 @@ GCC=yes ac_test_CFLAGS="${CFLAGS+set}" diff --git a/lang/p5-ePerl/files/patch-eperl_parse.c b/lang/p5-ePerl/files/patch-eperl_parse.c new file mode 100644 index 00000000000..d9b506801d7 --- /dev/null +++ b/lang/p5-ePerl/files/patch-eperl_parse.c @@ -0,0 +1,18 @@ +--- eperl_parse.c.orig Thu Nov 21 21:27:34 2002 ++++ eperl_parse.c Thu Nov 21 21:27:42 2002 +@@ -298,6 +298,7 @@ + return NULL; + } + ++#ifdef NOTDEF + char *strnstr(char *buf, char *str, int n) + { + char *cp; +@@ -311,6 +312,7 @@ + } + return NULL; + } ++#endif + + char *strncasestr(char *buf, char *str, int n) + { diff --git a/lang/p5-ePerl/files/patch-eperl_proto.h b/lang/p5-ePerl/files/patch-eperl_proto.h new file mode 100644 index 00000000000..e2cc75386f2 --- /dev/null +++ b/lang/p5-ePerl/files/patch-eperl_proto.h @@ -0,0 +1,11 @@ +--- 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 @@ + 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); +-extern char *strnstr(char *buf, char *str, int n); ++/*extern char *strnstr(char *buf, char *str, int n);*/ + extern char *strncasestr(char *buf, char *str, int n); + extern char *strndup(char *buf, int n); + extern char *ePerl_Bristled2Plain(char *cpBuf); |