]> git.pld-linux.org Git - packages/crossmingw32-libvorbis.git/commitdiff
95b34a6a4f2b037fc6cca78a7ebe9758 libvorbis-1.0rc1.tar.gz libvorbis-1_0rc1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jun 2001 10:26:02 +0000 (10:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libvorbis-ac_fixes.patch -> 1.2

libvorbis-ac_fixes.patch

index d7b9f40c6c2cf724f4df86ad1caf6e3cb3bfafd8..717653f75a8e3fac89a3ac001600720e90ca4d65 100644 (file)
-diff -urN libvorbis-1.0beta4.org/configure.in libvorbis-1.0beta4/configure.in
---- libvorbis-1.0beta4.org/configure.in        Sun Apr 29 00:04:26 2001
-+++ libvorbis-1.0beta4/configure.in    Sun Apr 29 01:03:21 2001
-@@ -47,93 +47,19 @@
- AC_CANONICAL_HOST
--dnl Set some target options
--if test -z "$GCC"; then
--      case $host in 
--      *-*-irix*)
--              dnl If we're on IRIX, we wanna use cc even if gcc 
--              dnl is there (unless the user has overriden us)...
--              if test -z "$CC"; then
--                      CC=cc
--              fi
--              DEBUG="-g -signed" 
--              CFLAGS="-O2 -w -signed"
--              PROFILE="-p -g3 -O2 -signed" ;;
--      sparc-sun-solaris*)
--              DEBUG="-v -g"
--              CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
--              PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
--      *)
--              DEBUG="-g"
--              CFLAGS="-O"
--              PROFILE="-g -p" ;;
--        esac
--else
--
--      case $host in 
--      *86-*-linux*)
--              DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+diff -urN libvorbis-1.0rc1.org/configure.in libvorbis-1.0rc1/configure.in
+--- libvorbis-1.0rc1.org/configure.in  Wed Jun 27 12:15:22 2001
++++ libvorbis-1.0rc1/configure.in      Wed Jun 27 12:16:11 2001
+@@ -76,9 +76,9 @@
+       case $host in 
+       *86-*-linux*)
+               DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
 -              CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
--#                     PROFILE="-Wall -W -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
++              CFLAGS="$CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
+ #                     PROFILE="-Wall -W -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
 -              PROFILE="-Wall -W -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline -static"
--
--              # glibc < 2.1.3 has a serious FP bug in the math inline header
--              # that will cripple Vorbis.  Look to see if the magic FP stack
--              # clobber is missing in the mathinline header, thus indicating
--              # the buggy version
--
--              AC_EGREP_CPP(log10.*fldlg2.*fxch,[
--                              #define __LIBC_INTERNAL_MATH_INLINES 1
--                              #define __OPTIMIZE__
--                              #include <math.h>
--                              ],bad=maybe,bad=no)
--              if test ${bad} = "maybe" ;then
--                    AC_EGREP_CPP(log10.*fldlg2.*fxch.*st\([[0123456789]]*\),
--                                      [
--                                      #define __LIBC_INTERNAL_MATH_INLINES 1
--                                      #define __OPTIMIZE__
--                                      #include <math.h>
--                                      ],bad=no,bad=yes)
--              fi
--              if test ${bad} = "yes" ;then
-- AC_MSG_WARN([                                                        ])
-- AC_MSG_WARN([********************************************************])
-- AC_MSG_WARN([* The glibc headers on this machine have a serious bug *])
-- AC_MSG_WARN([* in /usr/include/bits/mathinline.h  This bug affects  *])
-- AC_MSG_WARN([* all floating point code, not just Ogg, built on this *])
-- AC_MSG_WARN([* machine.  Upgrading to glibc 2.1.3 is strongly urged *])
-- AC_MSG_WARN([* to correct the problem.  Note that upgrading glibc   *])
-- AC_MSG_WARN([* will not fix any previously built programs; this is  *])
-- AC_MSG_WARN([* a compile-time time bug.                             *])
-- AC_MSG_WARN([* To work around the problem for this build of Ogg,    *])
-- AC_MSG_WARN([* autoconf is disabling all math inlining.  This will  *])
-- AC_MSG_WARN([* hurt Ogg performace but is necessary for an Ogg that *])
-- AC_MSG_WARN([* will actually work.  Once glibc is upgraded, rerun   *])
-- AC_MSG_WARN([* configure and make to build with inlining.           *])
-- AC_MSG_WARN([********************************************************])
-- AC_MSG_WARN([                                                        ])
--
--              CFLAGS=${OPT}" -D__NO_MATH_INLINES"
--              PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
--              fi;;
--      *-*-linux*)
--              DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
++              PROFILE="-Wall -W -pg -g $CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline -static"
+               # glibc < 2.1.3 has a serious FP bug in the math inline header
+               # that will cripple Vorbis.  Look to see if the magic FP stack
+@@ -121,8 +121,8 @@
+               fi;;
+       *-*-linux*)
+               DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
 -              CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
 -              PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
--      sparc-sun-*)
--              DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
--              CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
--              PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
--      *-*-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";;
--      *)
--              DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
--              CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
--              PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
--        esac
--fi
-+# -mno-ieee-fp causes gcc core dump :-( --misiek
-+case $host in
-+    *86-*-linux*)
-+      DEBUG="$CFLAGS -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
-+      CFLAGS="$CFLAGS -ffast-math -D_REENTRANT -fsigned-char"
-+      PROFILE="$CFLAGS -Wall -W -pg -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
-+      ;;
-+      **)
-+      DEBUG="$CFLAGS -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
-+      CFLAGS="$CFLAGS -ffast-math -D_REENTRANT -fsigned-char"
-+      PROFILE="$CFLAGS -pg -ffast-math -D_REENTRANT -fsigned-char"
-+      ;;
-+esac
- dnl --------------------------------------------------
- dnl Check for headers
++              CFLAGS="$CFLAGS -ffast-math -D_REENTRANT -fsigned-char"
++              PROFILE="-pg -g $CFLAGS -ffast-math -D_REENTRANT -fsigned-char";;
+       sparc-sun-*)
+               DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
+               CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
This page took 0.08785 seconds and 4 git commands to generate.