1.1 --- a/patches/glibc/linuxthreads-2.3.6/100-glibc-linuxthreads-2.3.5-cygwin.patch Mon Jul 28 11:43:29 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,37 +0,0 @@
1.4 -Fixes
1.5 -elf/librtld.os: In function `process_envvars': : undefined reference to `__access'
1.6 -...
1.7 -when building glibc-2.3.3 on cygwin
1.8 -
1.9 -Idea from
1.10 -http://sources.redhat.com/ml/bug-glibc/2002-01/msg00071/glibc-2.2-cygin-shared.patch
1.11 -Basically, make glibc use .oST as suffix for 'object static'
1.12 -instead of .oS, since cygwin has trouble distinguishing .os from .oS
1.13 -(Original patch had .on, but .oST is more mnemonic for 'object static')
1.14 -
1.15 -glibc-linuxthreads-2.3.3 also requires a patch, see
1.16 -../glibc-linuxthreads-2.3.3/glibc-linuxthreads-2.3.3-cygwin.patch
1.17 -
1.18 -[ rediffed against glibc-2.3.5 ]
1.19 -
1.20 -diff -aur glibc-2.3.5/linuxthreads/Makefile glibc-2.3.5-cygwin/linuxthreads/Makefile
1.21 ---- glibc-2.3.5/linuxthreads/Makefile 2005-02-16 12:26:38.000000000 +0100
1.22 -+++ glibc-2.3.5-cygwin/linuxthreads/Makefile 2005-05-11 08:32:50.453125000 +0200
1.23 -@@ -159,7 +159,7 @@
1.24 - install: $(inst_libdir)/libpthread.so
1.25 - $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
1.26 - $(objpfx)libpthread.so$(libpthread.so-version) \
1.27 -- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
1.28 -+ $(inst_libdir)/$(patsubst %,$(libtype.oST),\
1.29 - $(libprefix)pthread) \
1.30 - $(+force)
1.31 - (echo '/* GNU ld script';\
1.32 -@@ -167,7 +167,7 @@
1.33 - echo ' the static library, so try that secondarily. */';\
1.34 - cat $<; \
1.35 - echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \
1.36 -- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
1.37 -+ '$(libdir)/$(patsubst %,$(libtype.oST),$(libprefix)pthread)'\
1.38 - ')' \
1.39 - ) > $@.new
1.40 - mv -f $@.new $@