svn commit: r337486 - in head/net/minidlna: . files

William Grzybowski wg at FreeBSD.org
Thu Dec 26 12:41:08 UTC 2013


Author: wg
Date: Thu Dec 26 12:41:08 2013
New Revision: 337486
URL: http://svnweb.freebsd.org/changeset/ports/337486

Log:
  net/minidlna: fix build with debug and add option
  
  Submitted by:	se

Added:
  head/net/minidlna/files/patch-upnpreplyparse.c   (contents, props changed)
Modified:
  head/net/minidlna/Makefile

Modified: head/net/minidlna/Makefile
==============================================================================
--- head/net/minidlna/Makefile	Thu Dec 26 12:11:04 2013	(r337485)
+++ head/net/minidlna/Makefile	Thu Dec 26 12:41:08 2013	(r337486)
@@ -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
 

Added: head/net/minidlna/files/patch-upnpreplyparse.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/minidlna/files/patch-upnpreplyparse.c	Thu Dec 26 12:41:08 2013	(r337486)
@@ -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)


More information about the svn-ports-head mailing list