summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch')
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch b/meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch
new file mode 100644
index 0000000000..d95561bc48
--- /dev/null
+++ b/meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch
@@ -0,0 +1,20 @@
1Add a description to the HAVE_POPEN_PROTOTYPE AC_DEFINE so that this define is
2included in config.h.
3
4Upstream-Status: Submitted (via email)
5Signed-off-by: Ross Burton <ross.burton@intel.com>
6
7
8diff --git a/aclocal.m4 b/aclocal.m4
9index 3f20573..ec5ca51 100644
10--- a/aclocal.m4
11+++ b/aclocal.m4
12@@ -931,7 +931,7 @@ ac_cv_td_popen=no,
13 ac_cv_td_popen=yes))
14 AC_MSG_RESULT($ac_cv_td_popen)
15 if test $ac_cv_td_popen = yes; then
16- AC_DEFINE(HAVE_POPEN_PROTOTYPE)
17+ AC_DEFINE(HAVE_POPEN_PROTOTYPE,[1],[Conflicting popen prototype])
18 fi
19 ])dnl
20 dnl ---------------------------------------------------------------------------