Fridrich Strba 2010-09-23 23:57:51 +00:00 committed by Git OBS Bridge
parent 161df1b382
commit 0ee91dfdac
2 changed files with 15 additions and 2 deletions

View File

@ -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)

View File

@ -12,9 +12,10 @@ Summary: MinGW-W64 runtime for win32
License: Public Domain License: Public Domain
Group: Development/Libraries 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 Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2
Source100: %{name}-rpmlintrc Source100: %{name}-rpmlintrc
Patch0: mingw-w64-runtime-1.0b.20100818-assembly.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@ -36,10 +37,10 @@ MinGW Win64 cross-compiler runtime, base libraries.
%prep %prep
%setup -q -n mingw-w64-runtime-%{version} %setup -q -n mingw-w64-runtime-%{version}
%patch0 -p1
%build %build
autoreconf -fi
./configure --host=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot} --disable-lib32 --enable-lib64 ./configure --host=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot} --disable-lib32 --enable-lib64
make make