]> git.sesse.net Git - vlc/commitdiff
Fix libmodplug patch
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 12 Apr 2008 21:59:55 +0000 (22:59 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 12 Apr 2008 21:59:55 +0000 (22:59 +0100)
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

extras/contrib/src/Patches/libmodplug-win32.patch

index d5fb2ebd1bd2229d31606c1eb2ebdd979ada16bd..d8bae793e625648979d6d46cc634d4846e6f50ea 100644 (file)
                          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))