[oe] [PATCH 4/7] libmad: use "foreign" automake strictness
Ross Burton
ross.burton at intel.com
Tue Jul 15 16:18:34 UTC 2014
libmad doesn't want GNU-levels of automake strictness so tell it to be
"foreign".
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
.../libmad/libmad/automake-foreign.patch | 12 ++++++++++++
meta/recipes-multimedia/libmad/libmad_0.15.1b.bb | 1 +
2 files changed, 13 insertions(+)
create mode 100644 meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
diff --git a/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch b/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
new file mode 100644
index 0000000..3e54424
--- /dev/null
+++ b/meta/recipes-multimedia/libmad/libmad/automake-foreign.patch
@@ -0,0 +1,12 @@
+Pass foreign to AM_INIT_AUTOMAKE so it doesn't enforce GNU strictness.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton <ross.burton at intel.com>
+
+diff --git a/configure.ac b/configure.ac
+index e602fd3..e075b86 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -29 +29 @@ AC_CONFIG_SRCDIR([decoder.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
index 58d68a6..30937eb 100644
--- a/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
+++ b/meta/recipes-multimedia/libmad/libmad_0.15.1b.bb
@@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
file://add-pkgconfig.patch \
file://fix_for_mips_with_gcc-4.5.0.patch \
file://obsolete_automake_macros.patch \
+ file://automake-foreign.patch \
"
SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c"
--
1.7.10.4
More information about the Openembedded-devel
mailing list