diff --git a/mingw-w64-runtime-1.0b.20100818-crtmess.patch b/mingw-w64-runtime-1.0b.20100818-crtmess.patch new file mode 100644 index 0000000..e3fd172 --- /dev/null +++ b/mingw-w64-runtime-1.0b.20100818-crtmess.patch @@ -0,0 +1,38 @@ +--- Makefile.in (revision 3603) ++++ Makefile.in (revision 3605) +@@ -278,7 +278,6 @@ + crt/lib32_libmingw32_a-pesect.$(OBJEXT) \ + crt/lib32_libmingw32_a-udllargc.$(OBJEXT) \ + crt/lib32_libmingw32_a-xthdloc.$(OBJEXT) \ +- crt/lib32_libmingw32_a-crt0_c.$(OBJEXT) \ + crt/lib32_libmingw32_a-CRT_fp10.$(OBJEXT) \ + crt/lib32_libmingw32_a-dllmain.$(OBJEXT) \ + crt/lib32_libmingw32_a-mingw_custom.$(OBJEXT) \ +@@ -1173,7 +1172,6 @@ + crt/lib64_libmingw32_a-pesect.$(OBJEXT) \ + crt/lib64_libmingw32_a-udllargc.$(OBJEXT) \ + crt/lib64_libmingw32_a-xthdloc.$(OBJEXT) \ +- crt/lib64_libmingw32_a-crt0_c.$(OBJEXT) \ + crt/lib64_libmingw32_a-CRT_fp10.$(OBJEXT) \ + crt/lib64_libmingw32_a-dllmain.$(OBJEXT) \ + crt/lib64_libmingw32_a-mingw_custom.$(OBJEXT) \ +@@ -3008,7 +3006,7 @@ + crt/atonexit.c crt/crt0_c.c crt/dll_argv.c crt/gccmain.c crt/natstart.c crt/pseudo-reloc-list.c crt/wildcard.c \ + crt/charmax.c crt/crt0_w.c crt/dllargv.c crt/gs_support.c crt/_newmode.c crt/tlssup.c crt/xncommod.c \ + crt/cinitexe.c crt/crt0_w.c crt/dllentry.c crt/merr.c crt/pesect.c crt/udllargc.c crt/xthdloc.c \ +- crt/crt0_c.c crt/CRT_fp10.c crt/dllmain.c crt/mingw_custom.c crt/mingw_helpers.c crt/pseudo-reloc.c crt/udll_argv.c \ ++ crt/CRT_fp10.c crt/dllmain.c crt/mingw_custom.c crt/mingw_helpers.c crt/pseudo-reloc.c crt/udll_argv.c \ + crt/xtxtmode.c crt/crt_handler.c \ + crt/tlsthrd.c crt/tlsmthread.c crt/tlsmcrt.c + +--- Makefile.am (revision 3603) ++++ Makefile.am (revision 3605) +@@ -79,7 +79,7 @@ + crt/atonexit.c crt/crt0_c.c crt/dll_argv.c crt/gccmain.c crt/natstart.c crt/pseudo-reloc-list.c crt/wildcard.c \ + crt/charmax.c crt/crt0_w.c crt/dllargv.c crt/gs_support.c crt/_newmode.c crt/tlssup.c crt/xncommod.c \ + crt/cinitexe.c crt/crt0_w.c crt/dllentry.c crt/merr.c crt/pesect.c crt/udllargc.c crt/xthdloc.c \ +- crt/crt0_c.c crt/CRT_fp10.c crt/dllmain.c crt/mingw_custom.c crt/mingw_helpers.c crt/pseudo-reloc.c crt/udll_argv.c \ ++ crt/CRT_fp10.c crt/dllmain.c crt/mingw_custom.c crt/mingw_helpers.c crt/pseudo-reloc.c crt/udll_argv.c \ + crt/xtxtmode.c crt/crt_handler.c \ + crt/tlsthrd.c crt/tlsmthread.c crt/tlsmcrt.c + diff --git a/mingw64-runtime.spec b/mingw64-runtime.spec index a6fc6e3..155fc5c 100644 --- a/mingw64-runtime.spec +++ b/mingw64-runtime.spec @@ -15,6 +15,7 @@ Group: Development/Libraries URL: http://www.mingw.org/ Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2 Source100: %{name}-rpmlintrc +Patch0: mingw-w64-runtime-1.0b.20100818-crtmess.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -37,6 +38,8 @@ MinGW Win64 cross-compiler runtime, base libraries. %prep %setup -q -n mingw-w64-runtime-%{version} +%patch0 -p0 + %build ./configure --host=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot} --disable-lib32 --enable-lib64 make