summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-02-19 09:53:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-20 21:22:49 +0000
commit31836257c4c4e499eb3256ae3a30ed532aca7abc (patch)
tree2f7301e8b755c7d8b77517ba235c3e21837a568e /meta/recipes-extended/diffutils
parenta17abae00785c76cfffe5381a22fb2c86b982e82 (diff)
downloadpoky-31836257c4c4e499eb3256ae3a30ed532aca7abc.tar.gz
diffutils: upgrade to 3.7
The following two patches are removed as they are not needed anymore. 0001-Unset-need_charset_alias-when-building-for-musl.patch 0001-explicitly-disable-replacing-getopt.patch (From OE-Core rev: cc8c9b36258d0bb1635b2d4644d7fc64357c5110) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils')
-rw-r--r--meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch33
-rw-r--r--meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch30
-rw-r--r--meta/recipes-extended/diffutils/diffutils/run-ptest (renamed from meta/recipes-extended/diffutils/diffutils-3.6/run-ptest)0
-rw-r--r--meta/recipes-extended/diffutils/diffutils_3.7.bb (renamed from meta/recipes-extended/diffutils/diffutils_3.6.bb)6
4 files changed, 2 insertions, 67 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch b/meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch
deleted file mode 100644
index ba1a4bab4c..0000000000
--- a/meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From b9565dc2fe0c4f7daaec91b7e83bc7313dee2f4a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 13 Apr 2015 17:02:13 -0700
4Subject: [PATCH] Unset need_charset_alias when building for musl
5
6localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4
7which actually shoudl be fixed in gnulib and then all downstream
8projects will get it eventually. For now we apply the fix to
9coreutils
10
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 lib/gnulib.mk | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/lib/gnulib.mk b/lib/gnulib.mk
19index e1d74db..c0e92dd 100644
20--- a/lib/gnulib.mk
21+++ b/lib/gnulib.mk
22@@ -1882,7 +1882,7 @@ install-exec-localcharset: all-local
23 case '$(host_os)' in \
24 darwin[56]*) \
25 need_charset_alias=true ;; \
26- darwin* | cygwin* | mingw* | pw32* | cegcc*) \
27+ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \
28 need_charset_alias=false ;; \
29 *) \
30 need_charset_alias=true ;; \
31--
322.1.4
33
diff --git a/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch b/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
deleted file mode 100644
index 351f87cab5..0000000000
--- a/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Subject: explicitly disable replacing getopt
2
3Explicitly disable replacing getopt to avoid compilation error like below.
4
5 xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
6
7Upstream-Status: Inappropriate [workaround]
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
10 m4/getopt.m4 | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/m4/getopt.m4 b/m4/getopt.m4
14index 3ebc7b7..8934426 100644
15--- a/m4/getopt.m4
16+++ b/m4/getopt.m4
17@@ -22,8 +22,8 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
18 fi
19 ])
20 if test $REPLACE_GETOPT = 1; then
21- dnl Arrange for getopt.h to be created.
22- gl_GETOPT_SUBSTITUTE_HEADER
23+ dnl Explicitly disable replacing getopt
24+ :
25 fi
26 ])
27
28--
292.11.0
30
diff --git a/meta/recipes-extended/diffutils/diffutils-3.6/run-ptest b/meta/recipes-extended/diffutils/diffutils/run-ptest
index 695c5e8a7b..695c5e8a7b 100644
--- a/meta/recipes-extended/diffutils/diffutils-3.6/run-ptest
+++ b/meta/recipes-extended/diffutils/diffutils/run-ptest
diff --git a/meta/recipes-extended/diffutils/diffutils_3.6.bb b/meta/recipes-extended/diffutils/diffutils_3.7.bb
index 8ba897d18f..7daeee3513 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.6.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.7.bb
@@ -4,13 +4,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
4require diffutils.inc 4require diffutils.inc
5 5
6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \ 6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
7 file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
8 file://run-ptest \ 7 file://run-ptest \
9" 8"
10SRC_URI_append_libc-glibc = " file://0001-explicitly-disable-replacing-getopt.patch"
11 9
12SRC_URI[md5sum] = "07cf286672ced26fba54cd0313bdc071" 10SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461"
13SRC_URI[sha256sum] = "d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6" 11SRC_URI[sha256sum] = "b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26"
14 12
15EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix" 13EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
16 14