summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/diffstat
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2013-06-03 10:10:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 16:48:23 +0100
commit26133c29161230ea51e6cde425468ba3aee1cd10 (patch)
tree3204ff03106bf6d87107de5c903bb5d1fc7aba44 /meta/recipes-devtools/diffstat
parent31073bc1e63e0754e35e09209aa86a7414ccf9de (diff)
downloadpoky-26133c29161230ea51e6cde425468ba3aee1cd10.tar.gz
diffstat: upgraded to 1.57
(From OE-Core rev: 36f14ee692a632234a4670f4b4ec2db8f4e32241) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.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/diffstat')
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/aclocal.patch37
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.57.bb (renamed from meta/recipes-devtools/diffstat/diffstat_1.55.bb)8
2 files changed, 41 insertions, 4 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat/aclocal.patch b/meta/recipes-devtools/diffstat/diffstat/aclocal.patch
new file mode 100644
index 0000000000..37e518f035
--- /dev/null
+++ b/meta/recipes-devtools/diffstat/diffstat/aclocal.patch
@@ -0,0 +1,37 @@
1Use the correct macro name (AC_AUTOCONF_VERSION) in the CF_ACVERSION_CHECK macro.
2The original macro name (AC_ACVERSION) leads to this error:
3
4| autoreconf: running: aclocal --system-acdir=/poky/buildnew/tmp/work/i586-poky-linux/diffstat/1.57-r0/build/aclocal-copy/ --automake-acdir=/poky/buildnew/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 --force
5| aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
6| configure.in:9: error: m4_defn: undefined macro: AC_ACVERSION
7| acinclude.m4:989: CF_PROG_CC is expanded from...
8| configure.in:9: the top level
9| autom4te: m4 failed with exit status: 1
10
11Upstream-Status: Inappropriate [embedded specific]
12Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
13
14diff --git a/aclocal.m4 b/aclocal.m4
15index 144a074..fce6eba 100644
16--- a/aclocal.m4
17+++ b/aclocal.m4
18@@ -13,15 +13,15 @@ dnl ------------------
19 dnl Conditionally generate script according to whether we're using a given autoconf.
20 dnl
21 dnl $1 = version to compare against
22-dnl $2 = code to use if AC_ACVERSION is at least as high as $1.
23-dnl $3 = code to use if AC_ACVERSION is older than $1.
24+dnl $2 = code to use if AC_AUTOCONF_VERSION is at least as high as $1.
25+dnl $3 = code to use if AC_AUTOCONF_VERSION is older than $1.
26 define([CF_ACVERSION_CHECK],
27 [
28 ifdef([m4_version_compare],
29-[m4_if(m4_version_compare(m4_defn([AC_ACVERSION]), [$1]), -1, [$3], [$2])],
30+[m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [$1]), -1, [$3], [$2])],
31 [CF_ACVERSION_COMPARE(
32 AC_PREREQ_CANON(AC_PREREQ_SPLIT([$1])),
33-AC_PREREQ_CANON(AC_PREREQ_SPLIT(AC_ACVERSION)), AC_ACVERSION, [$2], [$3])])])dnl
34+AC_PREREQ_CANON(AC_PREREQ_SPLIT(AC_AUTOCONF_VERSION)), AC_AUTOCONF_VERSION, [$2], [$3])])])dnl
35 dnl ---------------------------------------------------------------------------
36 dnl CF_ACVERSION_COMPARE version: 3 updated: 2012/10/03 18:39:53
37 dnl --------------------
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.55.bb b/meta/recipes-devtools/diffstat/diffstat_1.57.bb
index 9b347e8283..c25005f140 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.55.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.57.bb
@@ -6,13 +6,13 @@ HOMEPAGE = "http://invisible-island.net/diffstat/"
6SECTION = "devel" 6SECTION = "devel"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5" 8LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5"
9PR = "r0"
10 9
11SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz \ 10SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz \
12 file://dirfix.patch" 11 file://dirfix.patch \
12 file://aclocal.patch"
13 13
14SRC_URI[md5sum] = "630d5278f1cd874dc3cc68cff3fddecf" 14SRC_URI[md5sum] = "a70ae35e479ab91da7eb6023a4e9240a"
15SRC_URI[sha256sum] = "59a46c75a99f2c373a81880051adc43a17b71c55478691e702c61c13c6d61b55" 15SRC_URI[sha256sum] = "cb9845839d695f178d6b5458b08d3e04773e400f35c0c062c4c0102220fba1e6"
16 16
17S = "${WORKDIR}/diffstat-${PV}" 17S = "${WORKDIR}/diffstat-${PV}"
18 18