[packages/libsndfile] - fix build with octave 4.0 - enable octave on x32
baggins
baggins at pld-linux.org
Sun Nov 22 22:04:40 CET 2015
commit 68710891e8ab952e69e695ab856f746a92cd1eac
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 22 22:04:15 2015 +0100
- fix build with octave 4.0
- enable octave on x32
libsndfile.spec | 3 ---
octave32.patch | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/libsndfile.spec b/libsndfile.spec
index 1ac7251..f455de6 100644
--- a/libsndfile.spec
+++ b/libsndfile.spec
@@ -7,9 +7,6 @@
%bcond_without static_libs # don't build static library
%bcond_without tests # don't build tests
#
-%ifarch x32
-%undefine with_octave
-%endif
Summary: C library for reading and writing files containing sampled sound
Summary(pl.UTF-8): Biblioteka obsługi plików dźwiękowych
Name: libsndfile
diff --git a/octave32.patch b/octave32.patch
index be42506..881bb8f 100644
--- a/octave32.patch
+++ b/octave32.patch
@@ -5,7 +5,7 @@
AC_MSG_WARN([Octave version 2.X is not supported.])
;;
- 3.0.*)
-+ 3.*)
++ 3.*|4.*)
OCTAVE_DEST_ODIR=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
OCTAVE_DEST_MDIR=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsndfile.git/commitdiff/68710891e8ab952e69e695ab856f746a92cd1eac
More information about the pld-cvs-commit
mailing list