1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

net/minidlna: fix build with debug and add option

Submitted by:	se
This commit is contained in:
William Grzybowski 2013-12-26 12:41:08 +00:00
parent 9b804ca033
commit 3d35932130
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337486
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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)