summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkloczek2001-07-19 21:55:51 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitc4ed0a1c1cd8a1c6f8e70cd306960da8c0acc36c (patch)
treed4e7ccc1c7d894b54affb8082cc277915d6fd61d
parent487276e9e9a5a4a9e8d9eaf915cf6e85f801711d (diff)
downloadlibsndfile-c4ed0a1c1cd8a1c6f8e70cd306960da8c0acc36c.zip
libsndfile-c4ed0a1c1cd8a1c6f8e70cd306960da8c0acc36c.tar.gz
- updated for 0.0.23.
Changed files: libsndfile-autoconf.patch -> 1.5
-rw-r--r--libsndfile-autoconf.patch33
1 files changed, 21 insertions, 12 deletions
diff --git a/libsndfile-autoconf.patch b/libsndfile-autoconf.patch
index 8f22da9..bd5ef0f 100644
--- a/libsndfile-autoconf.patch
+++ b/libsndfile-autoconf.patch
@@ -1,20 +1,29 @@
-diff -Nru libsndfile-0.0.22/configure.in libsndfile-0.0.22.new/configure.in
---- libsndfile-0.0.22/configure.in Mon Oct 16 13:11:45 2000
-+++ libsndfile-0.0.22.new/configure.in Thu Oct 19 03:43:33 2000
-@@ -47,16 +47,6 @@
- AC_ARG_ENABLE(gcc-pipe, [ --disable-gcc-pipe disable gcc -pipe option ],
- ac_arg_gcc_pipe="N", ac_arg_gcc_pipe="Y")
+--- libsndfile-0.0.23/configure.in.orig Sun Jul 15 11:10:03 2001
++++ libsndfile-0.0.23/configure.in Thu Jul 19 23:25:23 2001
+@@ -54,26 +54,6 @@
+ [ --enable-force-broken-float force use of broken float code ],
+ ac_arg_broken_float="Y", ac_arg_broken_float="N")
-if test $ac_cv_prog_gcc = yes ; then
-- CFLAGS="-g -O2 -Wall -pedantic -Wstrict-prototypes"
-- dnl CFLAGS="-g -O0 -Wall -Werror -Wstrict-prototypes"
-- dnl AC_MSG_WARN([**** Optimisation has been switched off. ****])
--
+- CFLAGS="-g -O2 -Wstrict-prototypes"
+- if test "$ac_arg_gcc_opt" = "N" ; then
+- CFLAGS="-g -O0 -Wstrict-prototypes"
+- AC_MSG_WARN([[*** Compiler optimisations switched off. ***]])
+- fi
+- dnl Disable -Wall and -pedantic for Apple Darwin/Rhapsody.
+- dnl System headers on these systems are broken.
+- case "$target_os" in
+- darwin* | rhapsody*)
+- ;;
+- *)
+- CFLAGS="$CFLAGS -Wall -pedantic"
+- ;;
+- esac
- if test $ac_arg_gcc_pipe != "N" ; then
- CFLAGS="$CFLAGS -pipe"
- fi
- fi
-
if test $cross_compiling = yes ; then
- AC_MSG_WARN([******************************************************************])
- AC_MSG_WARN([*** We are cross-compiling, so have to assume sizeof (short) == 2 ])
+ AC_MSG_WARN([[******************************************************************]])
+ AC_MSG_WARN([[*** We are cross-compiling, so have to assume sizeof (short) == 2 ]])