[packages/libmpcdec] - fix configure regeneration problem - rel 4
baggins
baggins at pld-linux.org
Mon Mar 9 19:02:00 CET 2015
commit bdbacd8ce9e772ee68da5689f1fca1a083a5e7b4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 9 19:01:39 2015 +0100
- fix configure regeneration problem
- rel 4
ac.patch | 10 ++++++++++
libmpcdec.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/libmpcdec.spec b/libmpcdec.spec
index 96f1c41..89e2805 100644
--- a/libmpcdec.spec
+++ b/libmpcdec.spec
@@ -6,11 +6,12 @@ Summary: Musepack decoding library
Summary(pl.UTF-8): Biblioteka do dekodowania formatu musepack
Name: libmpcdec
Version: 1.2.6
-Release: 3
+Release: 4
License: BSD
Group: Libraries
Source0: http://files2.musepack.net/source/%{name}-%{version}.tar.bz2
# Source0-md5: 7f7a060e83b4278acf4b77d7a7b9d2c0
+Patch0: ac.patch
URL: http://www.musepack.net/
BuildRequires: automake
BuildRequires: autoconf
@@ -78,6 +79,7 @@ Przykład użycia libmpcdec z dokumentacją.
%prep
%setup -q
+%patch0 -p1
%build
%{?debug:%{__sed} -i -e "s,-O3 -fomit-frame-pointer,,g" configure.ac}
diff --git a/ac.patch b/ac.patch
new file mode 100644
index 0000000..53a0d93
--- /dev/null
+++ b/ac.patch
@@ -0,0 +1,10 @@
+--- libmpcdec-1.2.6/configure.ac~ 2007-04-17 21:05:32.000000000 +0200
++++ libmpcdec-1.2.6/configure.ac 2015-03-09 19:00:40.429162006 +0100
+@@ -4,6 +4,7 @@
+ AM_INIT_AUTOMAKE(libmpcdec,1.2.6)
+ AM_CONFIG_HEADER(include/config.h)
+
++AC_PROG_CXX
+ AM_PROG_LIBTOOL
+
+ CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fPIC"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmpcdec.git/commitdiff/bdbacd8ce9e772ee68da5689f1fca1a083a5e7b4
More information about the pld-cvs-commit
mailing list