diff options
author | wg <wg@FreeBSD.org> | 2013-12-26 20:41:08 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-12-26 20:41:08 +0800 |
commit | 807c6b96fc37ab01dcb4f459eaa9a1381c47074e (patch) | |
tree | d1e36f5be1a34c6af3f397f121496b2c4bf2dadc /net/minidlna | |
parent | aba3dbcd2ded400f8f685f2fd2fa2f815f7e1810 (diff) | |
download | freebsd-ports-gnome-807c6b96fc37ab01dcb4f459eaa9a1381c47074e.tar.gz freebsd-ports-gnome-807c6b96fc37ab01dcb4f459eaa9a1381c47074e.tar.zst freebsd-ports-gnome-807c6b96fc37ab01dcb4f459eaa9a1381c47074e.zip |
net/minidlna: fix build with debug and add option
Submitted by: se
Diffstat (limited to 'net/minidlna')
-rw-r--r-- | net/minidlna/Makefile | 3 | ||||
-rw-r--r-- | net/minidlna/files/patch-upnpreplyparse.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index d23d0a1cb1df..caf88b4e4057 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -37,10 +37,11 @@ SUB_LIST+= USER=${USERS} USERS= dlna GROUPS= dlna -OPTIONS_DEFINE= KQUEUE NLS +OPTIONS_DEFINE= DEBUG KQUEUE NLS OPTIONS_DEFAULT=KQUEUE OPTIONS_SUB= yes +DEBUG_CFLAGS= -DDEBUG KQUEUE_DESC= Experimental patch for automatic rescan using kqueue(2) NLS_USES= gettext diff --git a/net/minidlna/files/patch-upnpreplyparse.c b/net/minidlna/files/patch-upnpreplyparse.c new file mode 100644 index 000000000000..5d98d2d9b9cd --- /dev/null +++ b/net/minidlna/files/patch-upnpreplyparse.c @@ -0,0 +1,11 @@ +--- upnpreplyparse.c.orig 2013-11-02 02:06:41.000000000 +0100 ++++ upnpreplyparse.c 2013-12-16 20:12:25.595454171 +0100 +@@ -122,7 +122,7 @@ + { + struct NameValueParserData pdata; + struct NameValue * nv; +- ParseNameValue(buffer, bufsize, &pdata); ++ ParseNameValue(buffer, bufsize, &pdata, XML_STORE_EMPTY_FL); + for(nv = pdata.head.lh_first; + nv != NULL; + nv = nv->entries.le_next) |