Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-w32pth
w32pth-2.0.4-mingw.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File w32pth-2.0.4-mingw.patch of Package mingw32-w32pth
--- w32pth-2.0.4/configure.ac 2010-08-02 20:26:30.000000000 +0200 +++ w32pth-2.0.4/configure.ac 2010-08-23 16:25:07.000000000 +0200 @@ -53,7 +53,7 @@ VERSION=$PACKAGE_VERSION AC_CONFIG_SRCDIR([w32-pth.c]) -AC_CANONICAL_TARGET +AC_CANONICAL_HOST AM_INIT_AUTOMAKE($PACKAGE, $VERSION) AM_CONFIG_HEADER(config.h) AC_CONFIG_MACRO_DIR([m4]) --- w32pth-2.0.4/pth.h 2010-07-21 17:15:06.000000000 +0200 +++ w32pth-2.0.4/pth.h 2010-08-23 16:25:07.000000000 +0200 @@ -30,7 +30,7 @@ #error w32pth conflict. A vanilla pth.h has already been included. #endif - +#include <winsock2.h> #include <windows.h> /* We need this for sockaddr et al. FIXME: too heavyweight - may be we should factor such @@ -38,6 +38,10 @@ user files to include it only if required. */ #include <sys/types.h> /* For sigset_t. */ +#ifdef __MINGW64_VERSION_MAJOR +typedef uintptr_t sigset_t; +#endif + #ifndef W32_PTH_HANDLE_INTERNAL #define W32_PTH_HANDLE_INTERNAL int #endif --- w32pth-2.0.4/w32-pth.c 2010-07-21 17:17:20.000000000 +0200 +++ w32pth-2.0.4/w32-pth.c 2010-08-23 16:25:07.000000000 +0200 @@ -26,6 +26,7 @@ #include <config.h> +#include <winsock2.h> #include <windows.h> #include <stdio.h> #include <stdlib.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor