aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-12-26 07:11:36 +0800
committerdinoex <dinoex@FreeBSD.org>2016-12-26 07:11:36 +0800
commit02716dc00f0e3dacebfbd46ea1d5ef5613d248eb (patch)
tree20139c0ee8c6f9fd40bcb19a41a070f0a937b265 /irc
parent7d5c3b53c49956898b6d2773069b4ffb5d0ba729 (diff)
downloadfreebsd-ports-gnome-02716dc00f0e3dacebfbd46ea1d5ef5613d248eb.tar.gz
freebsd-ports-gnome-02716dc00f0e3dacebfbd46ea1d5ef5613d248eb.tar.zst
freebsd-ports-gnome-02716dc00f0e3dacebfbd46ea1d5ef5613d248eb.zip
- update miniupnpc to 2.0.20161216
- bump API change
Diffstat (limited to 'irc')
-rw-r--r--irc/iroffer-dinoex/Makefile2
-rw-r--r--irc/iroffer-dinoex/files/patch-upnp.c26
2 files changed, 19 insertions, 9 deletions
diff --git a/irc/iroffer-dinoex/Makefile b/irc/iroffer-dinoex/Makefile
index 474c567e1b84..2ad68ba744f0 100644
--- a/irc/iroffer-dinoex/Makefile
+++ b/irc/iroffer-dinoex/Makefile
@@ -2,7 +2,7 @@
PORTNAME= iroffer
PORTVERSION= 3.30
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc
MASTER_SITES= http://iroffer.dinoex.net/
PKGNAMESUFFIX= -dinoex${PKGNAMESUFFIX2}
diff --git a/irc/iroffer-dinoex/files/patch-upnp.c b/irc/iroffer-dinoex/files/patch-upnp.c
index 55e6ddef2957..35e0e8f9a155 100644
--- a/irc/iroffer-dinoex/files/patch-upnp.c
+++ b/irc/iroffer-dinoex/files/patch-upnp.c
@@ -1,11 +1,5 @@
-Index: src/upnp.c
-===================================================================
-RCS file: /usr/home/public/iroffer/src/upnp.c,v
-retrieving revision 1.15
-retrieving revision 1.17
-diff -u -r1.15 -r1.17
---- src/upnp.c 13 Feb 2013 20:06:15 -0000 1.15
-+++ src/upnp.c 13 Oct 2015 18:30:24 -0000 1.17
+--- src/upnp.c.orig 2013-02-13 21:06:15.000000000 +0100
++++ src/upnp.c 2016-12-25 23:05:37.702936000 +0100
@@ -60,11 +60,15 @@
tostdout_write();
memset(&urls, 0, sizeof(struct UPNPUrls));
@@ -22,3 +16,19 @@ diff -u -r1.15 -r1.17
if (devlist)
{
dev = devlist;
+@@ -81,11 +85,15 @@
+ "UPnP device : desc: %s\n st: %s",
+ dev->descURL, dev->st);
+
++#if MINIUPNPC_API_VERSION >= 16
++ descXML = miniwget(dev->descURL, &descXMLsize, 0, 0);
++#else
+ #if MINIUPNPC_API_VERSION >= 9
+ descXML = miniwget(dev->descURL, &descXMLsize, 0);
+ #else
+ descXML = miniwget(dev->descURL, &descXMLsize);
+ #endif
++#endif
+ if (descXML)
+ {
+ parserootdesc (descXML, descXMLsize, &data);