summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/pkgconfig
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-05-24 22:25:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-30 20:46:05 +0100
commit5e06a20403c59f80e0ffa90626a2bab832af7a46 (patch)
tree047d12e84f79dec5e798f7b5f69598273b073299 /meta/recipes-devtools/pkgconfig
parentdd219cb2608e5800dcd900117b37ad8cf9ac689a (diff)
downloadopenembedded-core-5e06a20403c59f80e0ffa90626a2bab832af7a46.tar.gz
openembedded-core-5e06a20403c59f80e0ffa90626a2bab832af7a46.tar.bz2
openembedded-core-5e06a20403c59f80e0ffa90626a2bab832af7a46.zip
pkg-config: remove obsolete AM_PROG_CC_STDC
Add patch obsolete_automake_macros.patch that removes AM_PROG_CC_STDC from included glib tree. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pkgconfig')
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch16
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb1
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch b/meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch
new file mode 100644
index 0000000000..7d93b1c05a
--- /dev/null
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch
@@ -0,0 +1,16 @@
+Remove obsolete AM_PROG_CC_STDC use as there's already modern equivalent,
+AC_PROG_CC, present.
+
+Upstream-Status: Submitted
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff -Nurd pkg-config-0.28/glib/configure.ac pkg-config-0.28/glib/configure.ac
+--- pkg-config-0.28/glib/configure.ac 2012-10-13 17:35:36.000000000 +0300
++++ pkg-config-0.28/glib/configure.ac 2013-05-24 23:48:34.093415116 +0300
+@@ -288,7 +288,6 @@
+ AM_CONDITIONAL(HAVE_CXX, [test "$CXX" != ""])
+ AC_LANG_RESTORE
+
+-AM_PROG_CC_STDC
+ AM_PROG_CC_C_O
+ AC_PROG_INSTALL
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
index 99bb47f42d..6a17d7af84 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
@@ -4,6 +4,7 @@ SRC_URI += " \
file://glibconfig-sysdefs.h \
file://pkg-config-native.in \
file://fix-glib-configure-libtool-usage.patch \
+ file://obsolete_automake_macros.patch \
"
SRC_URI[md5sum] = "aa3c86e67551adc3ac865160e34a2a0d"