]> git.sesse.net Git - vlc/commitdiff
Contrib: Patches updates for Win32 compile of FFmpeg and libass.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 25 Jul 2009 22:10:45 +0000 (00:10 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 25 Jul 2009 22:44:24 +0000 (00:44 +0200)
extras/contrib/src/Patches/ffmpeg-svn-win32.patch
extras/contrib/src/Patches/libass-cross.patch

index fcde292f6c245856708323ba7179d9a964c5293d..d06af7a9c0e40dbe6be6f6599a7e0f13ee95bc25 100644 (file)
@@ -1,24 +1,11 @@
-Index: configure
-===================================================================
---- configure.orig     2009-03-23 18:20:30.339627360 +0000
-+++ configure  2009-03-23 18:25:12.457447960 +0000
-@@ -1438,7 +1438,7 @@
-     die "C compiler test failed."
+--- configure.orig     2009-07-26 00:06:36.000000000 +0200
++++ configure  2009-07-26 00:08:21.000000000 +0200
+@@ -1674,7 +1674,7 @@
  fi
  
+ add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -check_cflags -std=c99
 +#check_cflags -std=c99
- check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cflags -D_FILE_OFFSET_BITS=64
+ check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
  #include <stdlib.h>
  EOF
-@@ -1611,8 +1611,8 @@
-         objformat="win32"
-         enable dos_paths
-         if ! enabled x86_64; then
--            check_cpp_condition _mingw.h "(__MINGW32_MAJOR_VERSION > 3) || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
--                die "ERROR: MinGW runtime version must be >= 3.15."
-+            check_cpp_condition _mingw.h "(__MINGW32_MAJOR_VERSION > 3) || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 13)" ||
-+                die "ERROR: MinGW runtime version must be >= 3.13."
-             enabled_any avisynth vfwcap_demuxer &&
-                 { check_cpp_condition w32api.h "(__W32API_MAJOR_VERSION > 3) || (__W32API_MAJOR_VERSION == 3 && __W32API_MINOR_VERSION >= 13)" ||
-                   die "ERROR: avisynth and vfwcap_demuxer require w32api version 3.13 or later."; }
index 07ed336fbf4454e683db932d75a49297b03f0306..a4d231e7a6ae1a3428c1c33eb39253a000ea0856 100644 (file)
@@ -1,22 +1,9 @@
---- libass/configure.ac        2008-05-22 21:04:13.000000000 +0200
-+++ libass.new/configure.ac    2008-08-03 09:10:02.000000000 +0200
-@@ -42,9 +42,9 @@
- AC_TYPE_UINT8_T
+--- libass/Makefile.am.orig    2009-07-26 00:32:35.000000000 +0200
++++ libass/Makefile.am 2009-07-26 00:34:32.000000000 +0200
+@@ -9,5 +9,5 @@
+     test = test
+ endif
  
- # Checks for library functions.
--AC_FUNC_MALLOC
-+#AC_FUNC_MALLOC
- AC_FUNC_MEMCMP
--AC_FUNC_REALLOC
-+#AC_FUNC_REALLOC
- AC_FUNC_STAT
- AC_FUNC_STRTOD
- AC_FUNC_VPRINTF
---- libass/Makefile.am.old     2008-08-12 08:55:47.000000000 +0200
-+++ libass/Makefile.am 2008-08-12 08:56:05.000000000 +0200
-@@ -4,4 +4,4 @@
- pkgconfigdir = $(libdir)/pkgconfig
- pkgconfig_DATA = libass.pc
--SUBDIRS = libass test
+-SUBDIRS = libass $(test)
 +SUBDIRS = libass