[packages/libmad] Obsolete gcc option removed
jajcus
jajcus at pld-linux.org
Thu Dec 13 15:47:45 CET 2012
commit d044780107392cedb2f219bbb5187a4c38e52768
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Dec 13 15:47:02 2012 +0100
Obsolete gcc option removed
Release: 7
libmad-no_fforce_mem.patch | 11 +++++++++++
libmad.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libmad.spec b/libmad.spec
index f91b594..ad34627 100644
--- a/libmad.spec
+++ b/libmad.spec
@@ -2,12 +2,13 @@ Summary: MPEG audio decoder library
Summary(pl.UTF-8): Biblioteka dekodera strumieni audio MPEG
Name: libmad
Version: 0.15.1b
-Release: 6
+Release: 7
License: GPL v2+
Group: Libraries
Source0: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
# Source0-md5: 1be543bc30c56fb6bea1d7bf6a64e66c
Patch0: %{name}-pkgconfig.patch
+Patch1: %{name}-no_fforce_mem.patch
URL: http://www.underbit.com/products/mad/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -60,6 +61,7 @@ Biblioteka statyczna mad.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
diff --git a/libmad-no_fforce_mem.patch b/libmad-no_fforce_mem.patch
new file mode 100644
index 0000000..ae1be15
--- /dev/null
+++ b/libmad-no_fforce_mem.patch
@@ -0,0 +1,11 @@
+diff -dur libmad-0.15.1b.orig/configure.ac libmad-0.15.1b/configure.ac
+--- libmad-0.15.1b.orig/configure.ac 2012-12-13 15:42:31.000000000 +0100
++++ libmad-0.15.1b/configure.ac 2012-12-13 15:45:27.000000000 +0100
+@@ -140,7 +140,6 @@
+ case "$optimize" in
+ -O|"-O "*)
+ optimize="-O"
+- optimize="$optimize -fforce-mem"
+ optimize="$optimize -fforce-addr"
+ : #x optimize="$optimize -finline-functions"
+ : #- optimize="$optimize -fstrength-reduce"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmad.git/commitdiff/d044780107392cedb2f219bbb5187a4c38e52768
More information about the pld-cvs-commit
mailing list