Sat, 01 Sep 2012 12:17:10 +0200
Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.
michael@33 | 1 | Index: build/Makefiles/gmake/targetdirs.mak |
michael@33 | 2 | --- build/Makefiles/gmake/targetdirs.mak.orig 2009-01-07 23:43:14.257973250 +0100 |
michael@33 | 3 | +++ build/Makefiles/gmake/targetdirs.mak 2009-01-07 23:43:20.537852206 +0100 |
michael@33 | 4 | @@ -80,10 +80,7 @@ |
michael@33 | 5 | |
michael@33 | 6 | define createdirs |
michael@33 | 7 | @for d in $@ ; do \ |
michael@33 | 8 | - if [ -e $$d -a -f $$d ] ; then \ |
michael@33 | 9 | - echo "ERROR: Regular file $$d present, directory instead expected" ; \ |
michael@33 | 10 | - exit 1; \ |
michael@33 | 11 | - elif [ ! -d $$d ] ; then \ |
michael@33 | 12 | + if [ ! -d $$d ] ; then \ |
michael@33 | 13 | mkdir -p $$d ; \ |
michael@33 | 14 | fi ; \ |
michael@33 | 15 | done |
michael@33 | 16 | Index: stlport/stl/config/host.h |
michael@33 | 17 | --- stlport/stl/config/host.h.orig 2009-01-07 23:44:43.751377659 +0100 |
michael@33 | 18 | +++ stlport/stl/config/host.h 2009-01-07 23:44:20.070524718 +0100 |
michael@33 | 19 | @@ -316,9 +316,7 @@ |
michael@33 | 20 | /* |
michael@33 | 21 | #define __SunOS_5_9 |
michael@33 | 22 | */ |
michael@33 | 23 | -/* |
michael@33 | 24 | #define __SunOS_5_10 |
michael@33 | 25 | - */ |
michael@33 | 26 | #endif |
michael@33 | 27 | |
michael@33 | 28 | #if defined(__sun) |