[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-cvslog
Subject:    [xine-cvs] HG: xine-lib: Refuse to build with known-broken
From:       Darren Salt <linux () youmustbejoking ! demon ! co ! uk>
Date:       2010-07-18 23:40:23
Message-ID: 8752df5337a14033d078.1279496330 () hg ! debian ! org
[Download RAW message or body]

# HG changeset patch
# User Darren Salt <linux@youmustbejoking.demon.co.uk>
# Date 1279496330 -3600
# Node ID 8752df5337a14033d078cd7bcddf25343dc6b8b6
# Parent  e0e9f5035fde49877cf4bdb5d9a9a5830c3e8874
Refuse to build with known-broken libmodplug (0.8.8).

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@
     (VP8 video is not yet supported.)
   * Recognise ScreamTracker 2 & 3 files. (ST3 untested.)
   * Fix playback of the first file handled by the modplug demuxer.
+  * Refuse to build with known-broken libmodplug (0.8.8).
+    http://bugs.debian.org/588465
 
 xine-lib (1.1.18.1) 2010-03-06
   * Oops. compat.c (for DXR3 support) was omitted.
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2094,8 +2094,11 @@
 
 if test "x$enable_modplug" != "xno"; then
   PKG_CHECK_MODULES([LIBMODPLUG], [libmodplug >= 0.7],
-    AC_DEFINE([HAVE_MODPLUG], 1, [define this if you have libmodplug installed]),
+    [AC_DEFINE([HAVE_MODPLUG], 1, [define this if you have libmodplug installed])],
     [enable_modplug=no])
+  if test "`"$PKG_CONFIG" --modversion libmodplug`" = 0.8.8; then
+    AC_MSG_ERROR([you have a broken version of libmodplug (0.8.8); cowardly refusing to use it])
+  fi
 fi
 
 AC_SUBST(LIBMODPLUG_CFLAGS)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic