forked from pool/mingw32-headers
This commit is contained in:
parent
b5c569628a
commit
a40c5dca02
12
mingw-w64-headers-1.0b.20100730-winsock.patch
Normal file
12
mingw-w64-headers-1.0b.20100730-winsock.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urEbwB mingw-w64-headers-1.0b.20100730/include/mswsock.h mingw-w64-headers-1.0b.20100730/include/mswsock.h
|
||||||
|
--- mingw-w64-headers-1.0b.20100730/include/mswsock.h 2010-05-26 19:21:09.000000000 +0200
|
||||||
|
+++ mingw-w64-headers-1.0b.20100730/include/mswsock.h 2010-08-11 05:57:39.000000000 +0200
|
||||||
|
@@ -6,6 +6,8 @@
|
||||||
|
#ifndef _MSWSOCK_
|
||||||
|
#define _MSWSOCK_
|
||||||
|
|
||||||
|
+#include <winsock2.h>
|
||||||
|
+
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
@ -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.20100730-winsock.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