mingw-w64 (0~20100125-3) 01_workaround_missing_headers.diff

Summary

 mingw-w64-crt/Makefile.am      |   18 +-----------------
 mingw-w64-headers/Makefile.am  |    2 +-
 mingw-w64-headers/crt/getopt.h |    1 +
 3 files changed, 3 insertions(+), 18 deletions(-)

    
download this patch

Patch contents

--- mingw-w64-0~20100125.orig/mingw-w64-crt/Makefile.am
+++ mingw-w64-0~20100125/mingw-w64-crt/Makefile.am
@@ -147,7 +147,7 @@
   misc/execvp.c        misc/execvpe.c       misc/feclearexcept.c         misc/fegetenv.c        misc/fegetexceptflag.c \
   misc/fegetround.c    misc/feholdexcept.c  misc/feraiseexcept.c         misc/fesetenv.c        misc/fesetexceptflag.c \
   misc/fesetround.c    misc/fetestexcept.c  misc/feupdateenv.c           misc/ftruncate.c       misc/fwide.c           \
-  misc/getlogin.c      misc/getopt.c        misc/gettimeofday.c          misc/gmtime.c          misc/imaxabs.c         \
+  misc/getlogin.c      misc/gettimeofday.c          misc/gmtime.c          misc/imaxabs.c         \
   misc/imaxdiv.c       misc/isblank.c       misc/iswblank.c              misc/localtime.c       \
   misc/mbrtowc.c       misc/mbsinit.c       misc/mingw-aligned-malloc.c  misc/mingw-fseek.c     misc/_mkgmtime.c       \
   misc/mktime.c        misc/seterrno.c      misc/sleep.c                 misc/spawnv.c          misc/spawnve.c         \
@@ -243,14 +243,6 @@
 nodist_lib32_libm_a_SOURCES = $(src_libm)
 lib32_libm_a_CPPFLAGS=-m32
 
-lib32_LIBRARIES += lib32/libgmon.a
-lib32_libgmon_a_SOURCES = profile/mcount.c \
-  profile/profil.h profile/profil.c        \
-  profile/gmon.h   profile/gmon.c \
-  profile/mcountFunc.S
-lib32_libgmon_a_AR = $(DTLIB) -m i386 --as-flags=--32; $(AR) $(ARFLAGS)
-lib32_libgmon_a_CPPFLAGS=-m32
-
 lib32_LIBRARIES += lib32/libshell32.a
 lib32_libshell32_a_SOURCES = $(src_libshell32)
 lib32_libshell32_a_AR = $(DTLIB) -m i386 --as-flags=--32; $(AR) $(ARFLAGS)
@@ -454,14 +446,6 @@
 lib64_libdxguid_a_SOURCES = $(src_libdxguid)
 lib64_libdxguid_a_CPPFLAGS=-m64
 
-lib64_LIBRARIES += lib64/libgmon.a
-lib64_libgmon_a_SOURCES = profile/mcount.c \
-  profile/profil.h profile/profil.c        \
-  profile/gmon.h   profile/gmon.c \
-  profile/mcountFunc.S
-lib64_libgmon_a_CPPFLAGS=-m64
-lib64_libgmon_a_AR = $(DTLIB) -m i386:x86-64 --as-flags=--64; $(AR) $(ARFLAGS)
-
 lib64_LIBRARIES += lib64/libksuser.a
 lib64_libksuser_a_SOURCES = $(src_libksuser)
 lib64_libksuser_a_CPPFLAGS=-m64
--- mingw-w64-0~20100125.orig/mingw-w64-headers/Makefile.am
+++ mingw-w64-0~20100125/mingw-w64-headers/Makefile.am
@@ -22,7 +22,7 @@
   crt/assert.h             crt/complex.h   crt/conio.h     crt/crtdbg.h    crt/crtdefs.h    crt/ctype.h       crt/direct.h           \
   crt/dirent.h             crt/dir.h       crt/dos.h       crt/eh.h         crt/errno.h       crt/fcntl.h            \
   crt/dvec.h  crt/ivec.h crt/fvec.h \
-  crt/fenv.h               crt/float.h     crt/fpieee.h    crt/getopt.h     crt/ieeefp.h      crt/intrin.h           \
+  crt/fenv.h               crt/float.h     crt/fpieee.h    crt/ieeefp.h      crt/intrin.h           \
   crt/inttypes.h           crt/io.h        crt/libgen.h    crt/limits.h    crt/locale.h     crt/malloc.h      crt/math.h             \
   crt/mbctype.h            crt/mbstring.h  crt/mem.h       crt/memory.h    crt/_mingw.h     crt/_mingw_mac.h  crt/_mingw_print_pop.h \
   crt/_mingw_print_push.h  crt/new.h       crt/string.h	   crt/strings.h   crt/dlfcn.h      \
--- mingw-w64-0~20100125.orig/mingw-w64-headers/crt/getopt.h
+++ mingw-w64-0~20100125/mingw-w64-headers/crt/getopt.h
@@ -0,0 +1 @@
+/* empty file */