From 5ad87c9b653aa96ed85086c6b2ad91c07fcc9a81 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 16 Mar 2010 12:11:00 +0100 Subject: [PATCH] libmad: fixed compiling issue while using gcc >= 4.3 Note: The -fforce-mem option has been removed in gcc 4.3 see: http://gcc.gnu.org/gcc-4.3/changes.html --- audio/libmad/gcc43.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 audio/libmad/gcc43.patch diff --git a/audio/libmad/gcc43.patch b/audio/libmad/gcc43.patch new file mode 100644 index 000000000..c6d79a4d4 --- /dev/null +++ b/audio/libmad/gcc43.patch @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libmad/gcc43.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +The -fforce-mem option has been removed in gcc 4.3 +http://gcc.gnu.org/gcc-4.3/changes.html + +--- libmad-0.15.1b/configure.orig 2010-03-05 10:57:19.522398811 +0100 ++++ libmad-0.15.1b/configure 2010-03-05 10:58:45.278933253 +0100 +@@ -19099,7 +19099,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"