summaryrefslogtreecommitdiff
path: root/lang/p5-ePerl/files/patch-eperl_parse.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 10:29:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 10:29:47 +0000
commitc3ca2684da7b74cb31afc21c1780115b50ff2deb (patch)
treeefc7ac59eda5c3672687c4f503ef38dd49f4bd98 /lang/p5-ePerl/files/patch-eperl_parse.c
parentFor fixes for 5.0 because the ixj driver does not compile on 5.0 systems (diff)
Make lang/p5-ePerl compiling again.
Seen on: bento
Diffstat (limited to 'lang/p5-ePerl/files/patch-eperl_parse.c')
-rw-r--r--lang/p5-ePerl/files/patch-eperl_parse.c18
1 files changed, 18 insertions, 0 deletions
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 000000000000..d9b506801d79
--- /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)
+ {