]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/theora.patch
goom is patched on win32 too
[vlc] / extras / contrib / src / Patches / theora.patch
1 diff -ruN libtheora-1.0alpha7/configure.ac libtheora/configure.ac
2 --- libtheora-1.0alpha7/configure.ac    2006-06-20 22:04:50.000000000 +0200
3 +++ libtheora/configure.ac      2006-07-11 20:08:04.000000000 +0200
4 @@ -88,7 +88,7 @@
5          case $host in 
6          *)
7                  DEBUG="-g -DDEBUG"
8 -                CFLAGS="-O"
9 +                EXTRA_CFLAGS="-O"
10                  PROFILE="-g -p -DDEBUG" ;;
11          esac
12  else
13 @@ -96,11 +96,11 @@
14          case $host in 
15          *)
16                  DEBUG="-g -Wall -DDEBUG -D__NO_MATH_INLINES"
17 -                CFLAGS="-Wall -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
18 +                EXTRA_CFLAGS="-Wall -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
19                  PROFILE="-Wall -pg -g -O3 -fno-inline-functions -DDEBUG";;
20          esac
21  fi
22 -CFLAGS="$CFLAGS $cflags_save"
23 +CFLAGS="$EXTRA_CFLAGS $cflags_save"
24  
25  cpu_x86_64=no
26  cpu_x86_32=no
27 diff -ruN libtheora-1.0alpha7/Makefile.am libtheora/Makefile.am
28 --- libtheora-1.0alpha7/Makefile.am     2006-06-13 00:57:36.000000000 +0200
29 +++ libtheora/Makefile.am       2006-07-11 20:04:43.000000000 +0200
30 @@ -2,7 +2,7 @@
31  
32  AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
33  
34 -SUBDIRS = lib include doc examples tests m4
35 +SUBDIRS = lib include doc tests m4
36  
37  # we include the whole debian/ dir in EXTRA_DIST because there's a problem
38  # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
39 diff -ruN libtheora-1.0alpha7/Makefile.in libtheora/Makefile.in
40 --- libtheora-1.0alpha7/Makefile.in     2006-06-20 22:06:56.000000000 +0200
41 +++ libtheora/Makefile.in       2006-07-11 20:05:06.000000000 +0200
42 @@ -231,7 +231,7 @@
43  target_os = @target_os@
44  target_vendor = @target_vendor@
45  AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
46 -SUBDIRS = lib include doc examples tests m4
47 +SUBDIRS = lib include doc tests m4
48  
49  # we include the whole debian/ dir in EXTRA_DIST because there's a problem
50  # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am