Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/mdocml/dist strsep must be undefined first, cer...



details:   https://anonhg.NetBSD.org/src/rev/6fbba844c942
branches:  trunk
changeset: 342385:6fbba844c942
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Dec 19 19:28:06 2015 +0000

description:
strsep must be undefined first, certain glibc magic breaks a prototype
otherwise.

diffstat:

 external/bsd/mdocml/dist/configure |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r fe178ce50ae8 -r 6fbba844c942 external/bsd/mdocml/dist/configure
--- a/external/bsd/mdocml/dist/configure        Sat Dec 19 18:48:41 2015 +0000
+++ b/external/bsd/mdocml/dist/configure        Sat Dec 19 19:28:06 2015 +0000
@@ -343,6 +343,7 @@
        echo "extern    size_t    strlcpy(char *, const char *, size_t);"
 
 [ ${HAVE_STRSEP} -eq 0 ] && \
+       echo "#undef strsep"
        echo "extern    char     *strsep(char **, const char *);"
 
 [ ${HAVE_STRTONUM} -eq 0 ] && \



Home | Main Index | Thread Index | Old Index