From 74cad0bec29d8ae2bafb701d4ce920ab0893140e Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 10 Oct 2001 03:23:29 +0000 Subject: Fix broken strcasestr() implementation. Use FreeBSD's strcasestr() if present. --- ftp/wu-ftpd/files/patch-al | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'ftp/wu-ftpd/files/patch-al') diff --git a/ftp/wu-ftpd/files/patch-al b/ftp/wu-ftpd/files/patch-al index 40568f198e15..1a9774087352 100644 --- a/ftp/wu-ftpd/files/patch-al +++ b/ftp/wu-ftpd/files/patch-al @@ -1,19 +1,20 @@ -*** support/makefiles/Makefile.fbs.orig Mon Oct 4 22:44:08 1999 ---- support/makefiles/Makefile.fbs Wed Oct 20 20:32:42 1999 -*************** -*** 33,39 **** - LIBC = /usr/lib/libc.a - IFLAGS = - LFLAGS = -! CFLAGS = -O ${IFLAGS} ${LFLAGS} - - SRCS = strcasestr.c authuser.c ftw.c - OBJS = strcasestr.o authuser.o ftw.o ---- 33,39 ---- - LIBC = /usr/lib/libc.a - IFLAGS = - LFLAGS = -! CFLAGS += ${IFLAGS} ${LFLAGS} - - SRCS = strcasestr.c authuser.c ftw.c - OBJS = strcasestr.o authuser.o ftw.o +--- support/makefiles/Makefile.fbs.orig Sat Jul 1 22:22:55 2000 ++++ support/makefiles/Makefile.fbs Wed Oct 10 07:11:36 2001 +@@ -33,7 +33,14 @@ + LIBC = /usr/lib/libc.a + IFLAGS = + LFLAGS = +-CFLAGS = -O ${IFLAGS} ${LFLAGS} ++CFLAGS += ${IFLAGS} ${LFLAGS} + +-SRCS = strcasestr.c authuser.c ftw.c +-OBJS = strcasestr.o authuser.o ftw.o ++SRCS = authuser.c ftw.c ++OBJS = authuser.o ftw.o ++ ++HAVE_STRSTR!= (nm ${LIBC} | grep -q strcasestr) || echo "NO" ++ ++.if ${HAVE_STRSTR} == "NO" ++SRCS += strcasestr.c ++OBJS += strcasestr.o ++.endif -- cgit v1.2.3