[58734] trunk/dports/devel/libdlna
sfiera at macports.org
sfiera at macports.org
Sat Oct 3 13:26:10 PDT 2009
Revision: 58734
http://trac.macports.org/changeset/58734
Author: sfiera at macports.org
Date: 2009-10-03 13:26:07 -0700 (Sat, 03 Oct 2009)
Log Message:
-----------
Fix build of libdlna.
Add inclusion of <stdlib.h> to upnp-dms.c. Prior to Snow Leopard, this must
have been picked up implicitly via one of the other headers, but no longer.
This resulted in the compiler automatically generating an incorrect declaration
for malloc() and failing to compile this file.
Disable parallel build. libdlna's "all" target has two dependencies: a "build"
target which builds the library, and a "test" target which verifies that the
library was built correctly. Running these two targets in parallel is
unproductive.
Modified Paths:
--------------
trunk/dports/devel/libdlna/Portfile
Added Paths:
-----------
trunk/dports/devel/libdlna/files/patch-src-upnp-dms.c.diff
Modified: trunk/dports/devel/libdlna/Portfile
===================================================================
--- trunk/dports/devel/libdlna/Portfile 2009-10-03 17:54:08 UTC (rev 58733)
+++ trunk/dports/devel/libdlna/Portfile 2009-10-03 20:26:07 UTC (rev 58734)
@@ -26,7 +26,8 @@
patch-src-profiles.h.diff \
patch-src-av_mpeg4_part2.c.diff \
patch-src-av_mpeg4_part10.c.diff \
- patch-src-containers.c.diff
+ patch-src-containers.c.diff \
+ patch-src-upnp-dms.c.diff
platform darwin {
patchfiles-append patch-Makefile.diff
@@ -36,3 +37,4 @@
# Not autoconf
universal_variant no
+use_parallel_build no
Added: trunk/dports/devel/libdlna/files/patch-src-upnp-dms.c.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-src-upnp-dms.c.diff (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-src-upnp-dms.c.diff 2009-10-03 20:26:07 UTC (rev 58734)
@@ -0,0 +1,10 @@
+--- src/upnp_dms.c 2007-11-26 15:47:43.000000000 -0500
++++ src/upnp_dms.c.new 2009-10-03 12:14:30.000000000 -0400
+@@ -20,6 +20,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include "dlna_internals.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091003/7784b1b5/attachment.html>
More information about the macports-changes
mailing list