summaryrefslogtreecommitdiffstats
path: root/contrib/libvorbis/P00-darwin-O4.patch
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-10-21 17:44:51 +0000
committerjstebbins <[email protected]>2011-10-21 17:44:51 +0000
commit0b7fe842f95fd84668887fa0584697b247ecdd71 (patch)
tree369a313d7ca0571401bdf5c74517edba332ef733 /contrib/libvorbis/P00-darwin-O4.patch
parent3883a7c917b37f906bb5650e25c3dd516fcd8853 (diff)
bump libvorbis from aoTuV b5 to b6.03
Libvorbis aoTuV was unified with Xiph.Org's libvorbis1.3.2. Many bug fixes and improvements. Enlarge buffer for audio headers. The new vorbis generates larger code book headers. patch configure to fix llvm -O4 bug git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4302 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libvorbis/P00-darwin-O4.patch')
-rw-r--r--contrib/libvorbis/P00-darwin-O4.patch23
1 files changed, 15 insertions, 8 deletions
diff --git a/contrib/libvorbis/P00-darwin-O4.patch b/contrib/libvorbis/P00-darwin-O4.patch
index c213556d9..a8aba933c 100644
--- a/contrib/libvorbis/P00-darwin-O4.patch
+++ b/contrib/libvorbis/P00-darwin-O4.patch
@@ -1,14 +1,21 @@
-diff -ur libvorbis.orig/configure.in libvorbis/configure.in
---- libvorbis.orig/configure.in 2005-11-28 00:43:26.000000000 -0500
-+++ libvorbis/configure.in 2011-08-19 23:18:50.000000000 -0400
-@@ -161,8 +161,8 @@
- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+--- aotuv-b6.03_20110424.orig/configure.ac 2010-11-01 12:27:12.000000000 -0700
++++ aotuv-b6.03_20110424/configure.ac 2011-10-19 16:58:27.295806257 -0700
+@@ -7,6 +7,7 @@
+
+ AC_INIT([libvorbis],[1.3.2],[[email protected]])
+
++AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_SRCDIR([lib/mdct.c])
+
+ AC_CANONICAL_TARGET([])
+@@ -199,8 +200,8 @@
+ PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char $sparc_cpu" ;;
*-*-darwin*)
DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
- CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
- PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
+ CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O3 -ffast-math -fsigned-char"
+ PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O3 -ffast-math -fsigned-char";;
- *)
- DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
+ *-*-os2*)
+ # Use -W instead of -Wextra because gcc on OS/2 is an old version.
+ DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"