[vlc-devel] commit: Fix libmodplug patch (Christophe Mutricy )
git version control
git at videolan.org
Sun Apr 13 00:00:56 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Apr 12 22:59:55 2008 +0100| [53375c390dfebe329da433db484cce661e08926f]
Fix libmodplug patch
When we don't build some code we need to remove all the place where it's
called else bad things happen at link time
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53375c390dfebe329da433db484cce661e08926f
---
extras/contrib/src/Patches/libmodplug-win32.patch | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Patches/libmodplug-win32.patch b/extras/contrib/src/Patches/libmodplug-win32.patch
index d5fb2eb..d8bae79 100644
--- a/extras/contrib/src/Patches/libmodplug-win32.patch
+++ b/extras/contrib/src/Patches/libmodplug-win32.patch
@@ -10,3 +10,15 @@
modplug.cpp
libmodplugincludedir = $(includedir)/libmodplug
+diff -ru libmodplug/src/sndfile.cpp libmodplug-new/src/sndfile.cpp
+--- libmodplug/src/sndfile.cpp 2006-11-02 04:31:26.000000000 +0000
++++ libmodplug-new/src/sndfile.cpp 2008-04-12 20:56:39.000000000 +0100
+@@ -143,8 +143,5 @@
+ #ifndef MODPLUG_BASIC_SUPPORT
+ /* Sequencer File Format Support */
+- && (!ReadABC(lpStream, dwMemLength))
+- && (!ReadMID(lpStream, dwMemLength))
+- && (!ReadPAT(lpStream, dwMemLength))
+ && (!ReadSTM(lpStream, dwMemLength))
+ && (!ReadMed(lpStream, dwMemLength))
+ && (!ReadMTM(lpStream, dwMemLength))
More information about the vlc-devel
mailing list