pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/w3c-httpd Rename a local library function `strcase...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2acf572758ac
branches:  trunk
changeset: 480650:2acf572758ac
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sat Sep 18 13:34:28 2004 +0000

description:
Rename a local library function `strcasestr()' to `xstrcasestr()'
to avoid type confliction.  Hopefully fix build problems reported
by buld builds.

diffstat:

 www/w3c-httpd/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 9b05fd6fd54f -r 2acf572758ac www/w3c-httpd/Makefile
--- a/www/w3c-httpd/Makefile    Sat Sep 18 12:47:33 2004 +0000
+++ b/www/w3c-httpd/Makefile    Sat Sep 18 13:34:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/08/29 15:40:03 recht Exp $
+# $NetBSD: Makefile,v 1.13 2004/09/18 13:34:28 uebayasi Exp $
 # FreeBSD Id: Makefile,v 1.19 1999/01/08 19:59:26 fenner Exp
 
 DISTNAME=      w3c-httpd-3.0A
@@ -12,6 +12,14 @@
 
 WRKSRC=                ${WRKDIR}
 
+SUBST_CLASSES+=                strcasestr
+SUBST_STAGE.strcasestr=        post-patch
+SUBST_FILES.strcasestr=        Daemon/Implementation/HTWild.c \
+       Library/Implementation/HTString.c \
+       Library/Implementation/HTString.h \
+       Library/Implementation/HTString.h
+SUBST_SED.strcasestr=  -e "s,\([[:blank:]]\)\(strcasestr\),\1x\2,g"
+
 pre-configure:
 .if !defined(MD5_PW)
        @${ECHO} ""



Home | Main Index | Thread Index | Old Index