From 0ee91dfdac30cf2132e693a4dd9450e66e7273bf7357f282bfcf321d11a21842 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 23 Sep 2010 23:57:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-runtime?expand=0&rev=17 --- mingw-w64-runtime-1.0b.20100818-assembly.patch | 12 ++++++++++++ mingw64-runtime.spec | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 mingw-w64-runtime-1.0b.20100818-assembly.patch 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/mingw64-runtime.spec b/mingw64-runtime.spec index 47dbffb..24c16c1 100644 --- a/mingw64-runtime.spec +++ b/mingw64-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=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot} --disable-lib32 --enable-lib64 make