diff --git a/mingw-w64-runtime-1.0b.20100818-assembly.patch b/mingw-w64-runtime-1.0b.20100818-assembly.patch new file mode 100644 index 0000000..fe62847 --- /dev/null +++ b/mingw-w64-runtime-1.0b.20100818-assembly.patch @@ -0,0 +1,12 @@ +diff -urEbwB mingw-w64-runtime-1.0b.20100818/math/scalbnl.S mingw-w64-runtime-1.0b.20100818/math/scalbnl.S +--- mingw-w64-runtime-1.0b.20100818/math/scalbnl.S 2010-05-03 12:25:18.000000000 +0200 ++++ mingw-w64-runtime-1.0b.20100818/math/scalbnl.S 2010-09-24 01:47:59.000000000 +0200 +@@ -17,7 +17,7 @@ + __MINGW_USYMBOL(scalbnl): + #ifdef _WIN64 + subq $24, %rsp +- andq $0xffffffff, %r8 ++ andl $-1, %r8d + movq %r8, (%rsp) + fildl (%rsp) + fldt (%rdx) diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index fed3b6a..c46b43f 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -12,9 +12,10 @@ Summary: MinGW-W64 runtime for win32 License: Public Domain Group: Development/Libraries -URL: http://www.mingw.org/ +URL: http://mingw-w64.sourceforge.net/ Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2 Source100: %{name}-rpmlintrc +Patch0: mingw-w64-runtime-1.0b.20100818-assembly.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -36,10 +37,10 @@ MinGW Win64 cross-compiler runtime, base libraries. %prep %setup -q -n mingw-w64-runtime-%{version} +%patch0 -p1 %build -autoreconf -fi ./configure --host=%{_mingw32_target} --prefix=%{_prefix} --with-sysroot=%{_mingw32_sysroot} --enable-lib32 --disable-lib64 make