Fridrich Strba 2011-05-19 14:13:48 +00:00 committed by Git OBS Bridge
parent 9c721f0254
commit 54787f4dc5
2 changed files with 14 additions and 0 deletions

View 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;

View File

@ -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} \