summaryrefslogtreecommitdiffstats
path: root/contrib/libvorbis/P00-darwin-O4.patch
diff options
context:
space:
mode:
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"