diff --git a/net-libs/libnatpmp/patches/libnatpmp-20140401.patchset b/net-libs/libnatpmp/patches/libnatpmp-20140401.patchset index 6ffc0c626..fdd8710b6 100644 --- a/net-libs/libnatpmp/patches/libnatpmp-20140401.patchset +++ b/net-libs/libnatpmp/patches/libnatpmp-20140401.patchset @@ -1,4 +1,4 @@ -From 71ea76c0f3842a048e6f004d291176a1399ca9f5 Mon Sep 17 00:00:00 2001 +From 27c33d9ffa8503a44504bcb03d1d26b35cbd84b4 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 5 Sep 2014 15:37:36 +0000 Subject: Haiku patch @@ -32,5 +32,32 @@ index 45c6e6f..dd73356 100644 { return -1; -- -1.8.3.4 +2.2.2 + + +From 9e5a4dc47ad1e39958e874da94e5fa8fc5744a0f Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Wed, 2 Dec 2015 19:53:48 +0000 +Subject: gcc2 build fix + + +diff --git a/testgetgateway.c b/testgetgateway.c +index 24cbe7d..5a8dbb1 100644 +--- a/testgetgateway.c ++++ b/testgetgateway.c +@@ -37,10 +37,10 @@ POSSIBILITY OF SUCH DAMAGE. + + int main(int argc, char * * argv) + { +- (void)argc; +- (void)argv; + struct in_addr gatewayaddr; + int r; ++ (void)argc; ++ (void)argv; + #ifdef WIN32 + uint32_t temp = 0; + r = getdefaultgateway(&temp); +-- +2.2.2