forked from pool/mingw64-headers
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-headers?expand=0&rev=17
This commit is contained in:
parent
eb1dc081f4
commit
8c0c01ae0d
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
|
||||
Patch1: 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=%{_mingw64_target} \
|
||||
|
Loading…
Reference in New Issue
Block a user