svn commit: r355719 - in head/net/minidlna: . files
William Grzybowski
wg at FreeBSD.org
Thu May 29 18:19:56 UTC 2014
Author: wg
Date: Thu May 29 18:19:55 2014
New Revision: 355719
URL: http://svnweb.freebsd.org/changeset/ports/355719
QAT: https://qat.redports.org/buildarchive/r355719/
Log:
net/minidlna: fix multicast and clang build
Submitted by: se (via email)
Added:
head/net/minidlna/files/patch-minissdp.c (contents, props changed)
head/net/minidlna/files/patch-upnpsoap.c (contents, props changed)
Modified:
head/net/minidlna/Makefile
Modified: head/net/minidlna/Makefile
==============================================================================
--- head/net/minidlna/Makefile Thu May 29 17:48:12 2014 (r355718)
+++ head/net/minidlna/Makefile Thu May 29 18:19:55 2014 (r355719)
@@ -3,6 +3,7 @@
PORTNAME= minidlna
PORTVERSION= 1.1.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net multimedia www
MASTER_SITES= SF
Added: head/net/minidlna/files/patch-minissdp.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/minidlna/files/patch-minissdp.c Thu May 29 18:19:55 2014 (r355719)
@@ -0,0 +1,11 @@
+--- minissdp.c.orig 2014-03-06 16:30:25.000000000 -0800
++++ minissdp.c 2014-05-29 09:34:58.763663228 -0700
+@@ -60,7 +60,7 @@
+ AddMulticastMembership(int s, struct lan_addr_s *iface)
+ {
+ int ret;
+-#ifdef HAVE_STRUCT_IP_MREQN
++#if defined(HAVE_STRUCT_IP_MREQN) && !defined(__FreeBSD__)
+ struct ip_mreqn imr; /* Ip multicast membership */
+ /* setting up imr structure */
+ imr.imr_multiaddr.s_addr = inet_addr(SSDP_MCAST_ADDR);
Added: head/net/minidlna/files/patch-upnpsoap.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/minidlna/files/patch-upnpsoap.c Thu May 29 18:19:55 2014 (r355719)
@@ -0,0 +1,11 @@
+--- upnpsoap.c~ 2014-05-26 15:54:53.125084054 +0200
++++ upnpsoap.c 2014-05-26 15:56:21.415094729 +0200
+@@ -1300,7 +1300,7 @@
+ free(str.data);
+ }
+
+-inline void
++static inline void
+ charcat(struct string_s *str, char c)
+ {
+ if (str->size <= str->off)
More information about the svn-ports-all
mailing list