[vlc-devel] commit: Fix libdvdread behaviour and crashes on Windows. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Sep 4 02:00:40 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep  3 17:02:42 2008 -0700| [0611e6893b923687737c953b73b5a5fd271b1401] | committer: Jean-Baptiste Kempf 

Fix libdvdread behaviour and crashes on Windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0611e6893b923687737c953b73b5a5fd271b1401
---

 extras/contrib/src/Patches/libdvdread.patch |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/extras/contrib/src/Patches/libdvdread.patch b/extras/contrib/src/Patches/libdvdread.patch
index 3fe8220..e3a8698 100644
--- a/extras/contrib/src/Patches/libdvdread.patch
+++ b/extras/contrib/src/Patches/libdvdread.patch
@@ -79,16 +79,16 @@ Index: configure.ac
  dnl ---------------------------------------------
  dnl cflags
  dnl ---------------------------------------------
-Index: autogen.sh
+Index: src/ifo_types.h
 ===================================================================
---- autogen.sh	(revision 1107)
-+++ autogen.sh	(working copy)
-@@ -86,7 +86,7 @@
- try_libtool_executable() {
-   libtool=$1
-     LT="`$libtool --version | awk '{ print $4 }' | sed -e 's/[a-zA-Z\ \.\(\)\-\;]//g'`"
--    if test "$LT" -ne "" ; then
-+    if test "$LT" -ne "0" ; then
-     LIBTOOL_MIN="`echo $LIBTOOL_MIN | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`"
-     if test $LT -lt 100 ; then
-       LT=`expr $LT \* 10`
+--- src/ifo_types.h	(révision 1132)
++++ src/ifo_types.h	(copie de travail)
+@@ -30,7 +30,7 @@
+ 
+ #if defined(__GNUC__)
+ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+-#define ATTRIBUTE_PACKED __attribute__ ((packed))
++#define ATTRIBUTE_PACKED __attribute__ ((gcc_struct,packed))
+ #define PRAGMA_PACK 0
+ #endif
+ #endif




More information about the vlc-devel mailing list