[Lunar-commits] <moonbase> vlc: Adjusting the BUILD to fix this problem when you say yes to libupnp;

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Mar 24 09:53:42 CET 2011


commit 46bb0af066e293dcf09830578ef2a00791d13e1a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Mar 24 04:53:42 2011 -0400

    vlc: Adjusting the BUILD to fix this problem when you say yes to libupnp;
    
    http://forum.videolan.org/viewtopic.php?f=13&t=87109
---
 video/vlc/BUILD |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/video/vlc/BUILD b/video/vlc/BUILD
index 829f7f4..bbf9e45 100644
--- a/video/vlc/BUILD
+++ b/video/vlc/BUILD
@@ -2,6 +2,11 @@
 
   patch_it $SOURCE2 1  &&
 
+# Fixes a make failure if you say yes to libupnp.
+  if in_depends $MODULE libupnp; then
+    sed -i "27i #include <assert.h>" modules/services_discovery/upnp_intel.cpp
+  fi &&
+
   # Use a default font which actually exists
   sedit "s:truetype/freefont/FreeSerifBold.ttf:dejavu-ttf/DejaVuSerif-Bold.ttf:" modules/misc/freetype.c  &&
 


More information about the Lunar-commits mailing list