OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-headers?expand=0&rev=19
This commit is contained in:
parent
9c721f0254
commit
54787f4dc5
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
|
||||
Source1000: %{name}-rpmlintrc
|
||||
Patch0: mingw-w64-headers-1.0b.20110505-unsignedsocket.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -25,6 +26,7 @@ MinGW Win64 headers.
|
||||
|
||||
%prep
|
||||
%setup -q -n mingw-w64-headers-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
./configure --host=%{_mingw64_target} \
|
||||
|
Loading…
Reference in New Issue
Block a user