]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/theora.patch
live: fix unsafe use of setlocale()
[vlc] / extras / contrib / src / Patches / theora.patch
1 --- libtheora/configure.ac      2007-09-18 08:47:09.000000000 +0200
2 +++ libtheora.new/configure.ac  2007-09-23 14:44:48.000000000 +0200
3 @@ -93,7 +93,7 @@
4          case $host in 
5          *)
6                  DEBUG="-g -DDEBUG"
7 -                CFLAGS="-O"
8 +                EXTRA_CFLAGS="-O"
9                  PROFILE="-g -p -DDEBUG" ;;
10          esac
11  else
12 @@ -101,11 +101,11 @@
13          case $host in 
14          *)
15                  DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
16 -                CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
17 +                EXTRAS_CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
18                  PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
19          esac
20  fi
21 -CFLAGS="$CFLAGS $cflags_save"
22 +CFLAGS="$EXTRAS_CFLAGS $cflags_save"
23  
24  cpu_x86_64=no
25  cpu_x86_32=no