diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-19 17:30:02 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-19 17:30:02 +0000 |
commit | a53442f1899fc4272dbff315aebc0e48796b2844 (patch) | |
tree | 7ff2156e549ff4555ab75efdb4c44636782d0355 /emulators/wine | |
parent | d6f7283580e18d510d85ac67dee0f3cf12cd8629 (diff) | |
download | pkgsrc-a53442f1899fc4272dbff315aebc0e48796b2844.tar.gz |
Added a missing header to fix the build on NetBSD 3.0.
Fixes PR 35714.
Diffstat (limited to 'emulators/wine')
-rw-r--r-- | emulators/wine/distinfo | 4 | ||||
-rw-r--r-- | emulators/wine/patches/patch-ad | 21 |
2 files changed, 18 insertions, 7 deletions
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo index e6ca3ab078c..fa4012c03da 100644 --- a/emulators/wine/distinfo +++ b/emulators/wine/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.61 2007/02/17 10:19:38 adam Exp $ +$NetBSD: distinfo,v 1.62 2007/02/19 17:30:02 rillig Exp $ SHA1 (wine-0.9.31.tar.bz2) = 7e8d2472c0aa17fca438983f7c28dfd1bd70863e RMD160 (wine-0.9.31.tar.bz2) = 3f4d39cf919122932077ef4d4c578c9ee1614a5a Size (wine-0.9.31.tar.bz2) = 11586104 bytes SHA1 (patch-aa) = 3878ed2683dcefc5919e8a1616c982ea29ec3bfe SHA1 (patch-ab) = 66c1f1ec98674d15c7a72e8ac16105c28aa25e91 -SHA1 (patch-ad) = d8cc315e1268bd590d0d139897f15fab24a87db2 +SHA1 (patch-ad) = 21b66f430149cae8319eb80a30cf8ad890d1b1ef SHA1 (patch-ae) = a4f39995baf5511ddc70b4e1c006a159a86eeb22 SHA1 (patch-af) = d5f68fa775e9ec605c5430d0a2aa76f8f34aa4e2 SHA1 (patch-ag) = c4bf5a592ad5cad67ff933c5da418c58d6e1367a diff --git a/emulators/wine/patches/patch-ad b/emulators/wine/patches/patch-ad index 05dd18aaadc..819763752fc 100644 --- a/emulators/wine/patches/patch-ad +++ b/emulators/wine/patches/patch-ad @@ -1,8 +1,19 @@ -$NetBSD: patch-ad,v 1.11 2007/02/17 10:19:38 adam Exp $ +$NetBSD: patch-ad,v 1.12 2007/02/19 17:30:02 rillig Exp $ ---- dlls/iphlpapi/ipstats.c.orig 2007-02-16 22:05:36.000000000 +0100 -+++ dlls/iphlpapi/ipstats.c -@@ -627,7 +627,11 @@ DWORD getNumRoutes(void) +--- dlls/iphlpapi/ipstats.c.orig 2007-02-16 15:48:13.000000000 +0100 ++++ dlls/iphlpapi/ipstats.c 2007-02-17 15:02:32.000000000 +0100 +@@ -27,6 +27,10 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/types.h> ++#if defined(__NetBSD__) ++#include <sys/param.h> ++#endif ++#include <unistd.h> + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif +@@ -627,7 +631,11 @@ DWORD getNumRoutes(void) /* Ignore all entries except for gateway routes which aren't multicast */ @@ -14,7 +25,7 @@ $NetBSD: patch-ad,v 1.11 2007/02/17 10:19:38 adam Exp $ continue; RouteCount++; -@@ -700,8 +704,12 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE +@@ -700,8 +708,12 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE /* Ignore all entries except for gateway routes which aren't multicast */ |