diff options
author | Schala | 2016-10-09 15:30:18 -0700 |
---|---|---|
committer | Schala | 2016-10-09 15:30:18 -0700 |
commit | 6dd53e5c44b27de5e6ffbef24d5a440c93fc0a1a (patch) | |
tree | 157eff7b13f96933daeffa80c88ac2a2146b319c /0005-sock-jpip.all.patch | |
parent | 2d75b3d16b8402a5d799f56be55ea0feee4a5153 (diff) | |
download | aur-6dd53e5c44b27de5e6ffbef24d5a440c93fc0a1a.tar.gz |
patches + don't deviate from native pkg build ops
Diffstat (limited to '0005-sock-jpip.all.patch')
-rw-r--r-- | 0005-sock-jpip.all.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/0005-sock-jpip.all.patch b/0005-sock-jpip.all.patch new file mode 100644 index 000000000000..307890aa1ffd --- /dev/null +++ b/0005-sock-jpip.all.patch @@ -0,0 +1,21 @@ +--- openjpeg-2.1.0/src/lib/openjpip/sock_manager.c.orig 2014-04-29 07:15:01.000000000 +0000 ++++ openjpeg-2.1.0/src/lib/openjpip/sock_manager.c 2014-07-29 15:35:10.066130700 +0000 +@@ -28,13 +28,17 @@ + * POSSIBILITY OF SUCH DAMAGE. + */ + +-#ifdef _WIN32 ++#ifdef _MSC_VER + #include <windows.h> + typedef SSIZE_T ssize_t; + #else + #include <sys/types.h> ++#ifdef _WIN32 ++#include <ws2tcpip.h> ++#else + #include <sys/socket.h> + #include <arpa/inet.h> ++#endif + #include <unistd.h> + #endif + |