2
0
Fridrich Strba 2010-09-07 11:50:18 +00:00 committed by Git OBS Bridge
parent 8f83e86d2d
commit bba1f514db
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- include/winnt.h (revision 3516)
+++ include/winnt.h (revision 3517)
@@ -3121,7 +3121,7 @@
__MINGW_EXTENSION union {
PVOID FiberData;
DWORD Version;
- } DUMMYUNIONNAME;
+ };
PVOID ArbitraryUserPointer;
struct _NT_TIB *Self;
} NT_TIB;

View File

@ -12,6 +12,7 @@ URL: http://www.mingw.org/
Source0: mingw-w64-headers-%{version}.tar.bz2 Source0: mingw-w64-headers-%{version}.tar.bz2
Source1000: %{name}-rpmlintrc Source1000: %{name}-rpmlintrc
Patch0: mingw-w64-headers-1.0b.20100818-uow.patch Patch0: mingw-w64-headers-1.0b.20100818-uow.patch
Patch0: mingw-w64-headers-1.0b.20100818-namelessunion.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -27,6 +28,7 @@ MinGW Win64 headers.
%prep %prep
%setup -q -n mingw-w64-headers-%{version} %setup -q -n mingw-w64-headers-%{version}
%patch0 -p1 %patch0 -p1
%patch1 -p0
%build %build
./configure --host=%{_mingw32_target} \ ./configure --host=%{_mingw32_target} \