diffstat: upgrade to 1.58

Adjusted aclocal.patch to apply correctly.

(From OE-Core rev: f5bf674d0497a094682609b74da018e040f8d150)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Laurentiu Palcu 2013-11-05 11:25:16 +02:00 committed by Richard Purdie
parent aaa4b6e9b4
commit b353269498
2 changed files with 8 additions and 7 deletions

View File

@ -11,11 +11,11 @@ The original macro name (AC_ACVERSION) leads to this error:
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
diff --git a/aclocal.m4 b/aclocal.m4
index 144a074..fce6eba 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -13,15 +13,15 @@ dnl ------------------
Index: diffstat-1.58/aclocal.m4
===================================================================
--- diffstat-1.58.orig/aclocal.m4 2013-10-29 01:43:23.000000000 +0200
+++ diffstat-1.58/aclocal.m4 2013-11-04 11:22:53.461562567 +0200
@@ -13,16 +13,16 @@
dnl Conditionally generate script according to whether we're using a given autoconf.
dnl
dnl $1 = version to compare against
@ -25,6 +25,7 @@ index 144a074..fce6eba 100644
+dnl $3 = code to use if AC_AUTOCONF_VERSION is older than $1.
define([CF_ACVERSION_CHECK],
[
ifdef([AC_ACVERSION], ,[m4_copy([m4_PACKAGE_VERSION],[AC_ACVERSION])])dnl
ifdef([m4_version_compare],
-[m4_if(m4_version_compare(m4_defn([AC_ACVERSION]), [$1]), -1, [$3], [$2])],
+[m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [$1]), -1, [$3], [$2])],

View File

@ -11,8 +11,8 @@ SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz \
file://dirfix.patch \
file://aclocal.patch"
SRC_URI[md5sum] = "a70ae35e479ab91da7eb6023a4e9240a"
SRC_URI[sha256sum] = "cb9845839d695f178d6b5458b08d3e04773e400f35c0c062c4c0102220fba1e6"
SRC_URI[md5sum] = "6d6e13f7dcfe4db5da65c5175260ea47"
SRC_URI[sha256sum] = "fad5135199c3b9aea132c5d45874248f4ce0ff35f61abb8d03c3b90258713793"
S = "${WORKDIR}/diffstat-${PV}"