1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/lang/eperl/files/extra-patch-eperl_parse.c
Greg Larkin d46e843c20 - Unbreak on 7.1 and 8.0
Reported by:	QAT
2009-01-29 22:49:40 +00:00

20 lines
355 B
C

--- eperl_parse.c.orig 2009-01-29 16:05:29.000000000 -0500
+++ eperl_parse.c 2009-01-29 16:05:37.000000000 -0500
@@ -326,16 +326,6 @@
return NULL;
}
-char *strndup(char *buf, int n)
-{
- char *cp;
-
- cp = (char *)malloc(n+1);
- strncpy(cp, buf, n);
- return cp;
-}
-
-
/*
** convert buffer from bristled format to plain format
*/