summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000000..d4dab7556d
--- /dev/null
+++ b/meta/packages/libmad/files/no-force-mem.patch
@@ -0,0 +1,16 @@
1This option no longer exists in gcc 3.4.1
2
3RP - 18/07/2008
4
5Index: libmad-0.15.1b/configure.ac
6===================================================================
7--- libmad-0.15.1b.orig/configure.ac 2008-07-18 15:45:30.000000000 +0100
8+++ libmad-0.15.1b/configure.ac 2008-07-18 15:45:37.000000000 +0100
9@@ -140,7 +140,6 @@
10 case "$optimize" in
11 -O|"-O "*)
12 optimize="-O"
13- optimize="$optimize -fforce-mem"
14 optimize="$optimize -fforce-addr"
15 : #x optimize="$optimize -finline-functions"
16 : #- 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 54b7b2d92c..6262b38db4 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"
6PR = "r1" 6PR = "r1"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
9 file://no-force-mem.patch;patch=1 \
9 file://add-pkgconfig.patch;patch=1" 10 file://add-pkgconfig.patch;patch=1"
10 11
11S = "${WORKDIR}/libmad-${PV}" 12S = "${WORKDIR}/libmad-${PV}"