OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=11
This commit is contained in:
parent
8f83e86d2d
commit
bba1f514db
11
mingw-w64-headers-1.0b.20100818-namelessunion.patch
Normal file
11
mingw-w64-headers-1.0b.20100818-namelessunion.patch
Normal 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;
|
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user