diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/upnp/Makefile | 1 | ||||
-rw-r--r-- | devel/upnp/files/patch-upnp-src-gena-gena_device.c | 11 | ||||
-rw-r--r-- | devel/upnp/files/patch-upnp-src-genlib-net-http-webserver.c | 11 |
3 files changed, 23 insertions, 0 deletions
diff --git a/devel/upnp/Makefile b/devel/upnp/Makefile index 2a1fadc661e..6ba13f1312c 100644 --- a/devel/upnp/Makefile +++ b/devel/upnp/Makefile @@ -7,6 +7,7 @@ PORTNAME= upnp PORTVERSION= 1.6.9 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION} diff --git a/devel/upnp/files/patch-upnp-src-gena-gena_device.c b/devel/upnp/files/patch-upnp-src-gena-gena_device.c new file mode 100644 index 00000000000..9bd298fd529 --- /dev/null +++ b/devel/upnp/files/patch-upnp-src-gena-gena_device.c @@ -0,0 +1,11 @@ +--- upnp/src/gena/gena_device.c.orig ++++ upnp/src/gena/gena_device.c +@@ -225,7 +225,7 @@ static UPNP_INLINE int notify_send_and_r + "bbb", + start_msg.buf, start_msg.length, + propertySet, strlen(propertySet), +- "\r\n", 2); ++ "\r\n", sizeof "\r\n" - 1); + if (ret_code) { + membuffer_destroy(&start_msg); + sock_destroy(&info, SD_BOTH); diff --git a/devel/upnp/files/patch-upnp-src-genlib-net-http-webserver.c b/devel/upnp/files/patch-upnp-src-genlib-net-http-webserver.c new file mode 100644 index 00000000000..6c64d59dc49 --- /dev/null +++ b/devel/upnp/files/patch-upnp-src-genlib-net-http-webserver.c @@ -0,0 +1,11 @@ +--- upnp/src/genlib/net/http/webserver.c.orig ++++ upnp/src/genlib/net/http/webserver.c +@@ -1262,7 +1262,7 @@ static int process_request( + // Content-Range: bytes 222-3333/4000 HTTP_PARTIAL_CONTENT + // Transfer-Encoding: chunked + if (http_MakeMessage(headers, resp_major, resp_minor, +- "R" "TLD" "s" "tcS" "b" "Xc" "sCc", ++ "R" "TLD" "s" "tcS" "Xc" "sCc", + HTTP_OK, // status code + finfo.content_type, // content type + RespInstr, // language info |