]> git.pld-linux.org Git - packages/libsndfile.git/commitdiff
- added octave32.patch (now it builds with octave-3.2.*)
authorSzymon Siwek <sls@pld-linux.org>
Mon, 26 Oct 2009 06:07:06 +0000 (06:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libsndfile.spec -> 1.68
    octave32.patch -> 1.1

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

index 26f581ab6f2285f3bbacbf382168935ae1948d43..13eea1beab3ddb66c8292cedb50f4eb459418c9c 100644 (file)
@@ -17,6 +17,7 @@ Vendor:               Erik de Castro Lopo <erikd@zip.com.au>
 Group:         Development/Libraries
 Source0:       http://www.mega-nerd.com/libsndfile/%{name}-%{version}.tar.gz
 # Source0-md5: e0553e12c7a467af44693e95e2eac668
+Patch0:                octave32.patch
 URL:           http://www.mega-nerd.com/libsndfile/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf >= 2.54
@@ -108,6 +109,7 @@ NarzÄ™dzia z biblioteki libsndfile:
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if %{without tests}
 %{__sed} -i 's, tests$,,' Makefile.am
diff --git a/octave32.patch b/octave32.patch
new file mode 100644 (file)
index 0000000..19081bd
--- /dev/null
@@ -0,0 +1,15 @@
+--- libsndfile-1.0.20/M4/octave.m4.orig        2009-10-25 15:51:00.461732576 +0100
++++ libsndfile-1.0.20/M4/octave.m4     2009-10-25 15:51:32.459533439 +0100
+@@ -125,6 +125,12 @@
+                               OCTAVE_BUILD=yes
+                               ;;
++                      3.2.*)
++                              OCTAVE_DEST_ODIR=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
++                              OCTAVE_DEST_MDIR=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
++
++                              OCTAVE_BUILD=yes
++                              ;;
+                       *)
+                               AC_MSG_WARN([Octave version $MKOCTFILE_VERSION is not supported.])
+                               ;;
This page took 0.088304 seconds and 4 git commands to generate.