summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/libmad/files/no-force-mem.patch16
-rw-r--r--meta/packages/libmad/libmad_0.15.1b.bb1
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/libmad/files/no-force-mem.patch b/meta/packages/libmad/files/no-force-mem.patch
new file mode 100644
index 000000000..d4dab7556
--- /dev/null
+++ b/meta/packages/libmad/files/no-force-mem.patch
@@ -0,0 +1,16 @@
+This option no longer exists in gcc 3.4.1
+
+RP - 18/07/2008
+
+Index: libmad-0.15.1b/configure.ac
+===================================================================
+--- libmad-0.15.1b.orig/configure.ac 2008-07-18 15:45:30.000000000 +0100
++++ libmad-0.15.1b/configure.ac 2008-07-18 15:45:37.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"
diff --git a/meta/packages/libmad/libmad_0.15.1b.bb b/meta/packages/libmad/libmad_0.15.1b.bb
index 54b7b2d92..6262b38db 100644
--- a/meta/packages/libmad/libmad_0.15.1b.bb
+++ b/meta/packages/libmad/libmad_0.15.1b.bb
@@ -6,6 +6,7 @@ LICENSE = "GPL"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
+ file://no-force-mem.patch;patch=1 \
file://add-pkgconfig.patch;patch=1"
S = "${WORKDIR}/libmad-${PV}"