From bba1f514db6ffbba4d7240a0120950207a940b8b809a3d0075cc9ee4b1ffa07d Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 7 Sep 2010 11:50:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=11 --- mingw-w64-headers-1.0b.20100818-namelessunion.patch | 11 +++++++++++ mingw32-headers.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 mingw-w64-headers-1.0b.20100818-namelessunion.patch diff --git a/mingw-w64-headers-1.0b.20100818-namelessunion.patch b/mingw-w64-headers-1.0b.20100818-namelessunion.patch new file mode 100644 index 0000000..ae3059e --- /dev/null +++ b/mingw-w64-headers-1.0b.20100818-namelessunion.patch @@ -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; diff --git a/mingw32-headers.spec b/mingw32-headers.spec index 2ef0739..043cdfb 100644 --- a/mingw32-headers.spec +++ b/mingw32-headers.spec @@ -12,6 +12,7 @@ URL: http://www.mingw.org/ Source0: mingw-w64-headers-%{version}.tar.bz2 Source1000: %{name}-rpmlintrc 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) @@ -27,6 +28,7 @@ MinGW Win64 headers. %prep %setup -q -n mingw-w64-headers-%{version} %patch0 -p1 +%patch1 -p0 %build ./configure --host=%{_mingw32_target} \