mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
Make lang/p5-ePerl compiling again.
Seen on: bento
This commit is contained in:
parent
c318aa2bef
commit
c3ca2684da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70657
3 changed files with 40 additions and 2 deletions
|
@ -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}"
|
18
lang/p5-ePerl/files/patch-eperl_parse.c
Normal file
18
lang/p5-ePerl/files/patch-eperl_parse.c
Normal file
|
@ -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)
|
||||
{
|
11
lang/p5-ePerl/files/patch-eperl_proto.h
Normal file
11
lang/p5-ePerl/files/patch-eperl_proto.h
Normal file
|
@ -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);
|
Loading…
Add table
Reference in a new issue