forked from pool/mingw32-headers
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=15
This commit is contained in:
parent
c1006040d5
commit
b27a3dffa4
12
mingw-w64-headers-1.0b.20110505-unsignedsocket.patch
Normal file
12
mingw-w64-headers-1.0b.20110505-unsignedsocket.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urEbwB mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h
|
||||||
|
--- mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h 2011-05-19 16:05:41.592641295 +0200
|
||||||
|
+++ mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h 2011-05-19 16:06:28.030204004 +0200
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
#ifndef ___WSA_SOCKET_TYPES_H
|
||||||
|
#define ___WSA_SOCKET_TYPES_H
|
||||||
|
|
||||||
|
-#if 0
|
||||||
|
+#if 1
|
||||||
|
typedef UINT_PTR SOCKET;
|
||||||
|
#else
|
||||||
|
typedef INT_PTR SOCKET;
|
@ -11,6 +11,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.20110505-unsignedsocket.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -25,6 +26,7 @@ MinGW Win64 headers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mingw-w64-headers-%{version}
|
%setup -q -n mingw-w64-headers-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --host=%{_mingw32_target} \
|
./configure --host=%{_mingw32_target} \
|
||||||
|
Loading…
Reference in New Issue
Block a user