packages: libsndfile/libsndfile.spec, libsndfile/octave32.patch (NEW) - add...

sls sls at pld-linux.org
Mon Oct 26 07:07:11 CET 2009


Author: sls                          Date: Mon Oct 26 06:07:11 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added octave32.patch (now it builds with octave-3.2.*)

---- Files affected:
packages/libsndfile:
   libsndfile.spec (1.67 -> 1.68) , octave32.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libsndfile/libsndfile.spec
diff -u packages/libsndfile/libsndfile.spec:1.67 packages/libsndfile/libsndfile.spec:1.68
--- packages/libsndfile/libsndfile.spec:1.67	Wed May 27 21:52:38 2009
+++ packages/libsndfile/libsndfile.spec	Mon Oct 26 07:07:05 2009
@@ -18,6 +18,7 @@
 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
@@ -109,6 +110,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if %{without tests}
 %{__sed} -i 's, tests$,,' Makefile.am
@@ -178,6 +180,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2009/10/26 06:07:05  sls
+- added octave32.patch (now it builds with octave-3.2.*)
+
 Revision 1.67  2009/05/27 19:52:38  megabajt
 - updated to 1.0.20 [fixes CVE-2009-1788, CVE-2009-1791]
 - removed obsolete -vorbis-test.patch

================================================================
Index: packages/libsndfile/octave32.patch
diff -u /dev/null packages/libsndfile/octave32.patch:1.1
--- /dev/null	Mon Oct 26 07:07:11 2009
+++ packages/libsndfile/octave32.patch	Mon Oct 26 07:07:06 2009
@@ -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.])
+ 				;;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libsndfile/libsndfile.spec?r1=1.67&r2=1.68&f=u



More information about the pld-cvs-commit mailing list