]> git.pld-linux.org Git - packages/libsndfile.git/commitdiff
- autoconf patch is back. libsndfile-0_0_22-1
authorkloczek <kloczek@pld-linux.org>
Thu, 19 Oct 2000 01:46:06 +0000 (01:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libsndfile-autoconf.patch -> 1.4
    libsndfile.spec -> 1.9

libsndfile-autoconf.patch [new file with mode: 0644]
libsndfile.spec

diff --git a/libsndfile-autoconf.patch b/libsndfile-autoconf.patch
new file mode 100644 (file)
index 0000000..8f22da9
--- /dev/null
@@ -0,0 +1,20 @@
+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")
+-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. ****])
+-      
+-      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 ])
index 6bf7e317a198c2d42425cd6a0657336a24ce2115..a1929df03dcf039ec6a3978824a4f7703e0c6fca 100644 (file)
@@ -10,6 +10,8 @@ Group(fr):    Development/Librairies
 Group(pl):     Programowanie/Biblioteki
 Vendor:                Erik de Castro Lopo <erikd@zip.com.au>
 Source0:       http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
+Patch0:                %{name}-autoconf.patch
+BuildRequires: autoconf
 URL:           http://www.zip.com.au/~erikd/libsndfile/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,8 +58,10 @@ Biblioteki statyczne libsndfile.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
+autoconf
 %configure
 %{__make}
 
This page took 0.043402 seconds and 4 git commands to generate.