diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-06-01 17:44:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-03 16:38:46 +0100 |
commit | 9ee388fc06220c95650b938d7687f9485cb51137 (patch) | |
tree | e29c68185f25ed6897547f3869e718a8cbd7d2e9 /meta/recipes-extended/gawk | |
parent | ed3283b7474739b4348ff76c55d47b0f1fd2724d (diff) | |
download | poky-9ee388fc06220c95650b938d7687f9485cb51137.tar.gz |
gawk: upgrade to 4.1.3
The following two patches are removed because they have been merged
in the new version.
Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch
extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch
(From OE-Core rev: 491d485ade68c128624eee00977f293dba8f64b9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gawk')
-rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch | 56 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch | 86 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.3/run-ptest (renamed from meta/recipes-extended/gawk/gawk-4.1.1/run-ptest) | 0 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.1.3.bb (renamed from meta/recipes-extended/gawk/gawk_4.1.1.bb) | 6 |
4 files changed, 2 insertions, 146 deletions
diff --git a/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch b/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch deleted file mode 100644 index b8b1fcaea7..0000000000 --- a/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | From 976f73ab03569bb836aa5c949be1c1cc973b2d2e Mon Sep 17 00:00:00 2001 | ||
2 | From: "Arnold D. Robbins" <arnold@skeeve.com> | ||
3 | Date: Fri, 11 Apr 2014 07:42:16 +0300 | ||
4 | Subject: [PATCH] Use $(DESTDIR) in extension/Makefile.am when removing .la | ||
5 | files. | ||
6 | |||
7 | commit 976f73ab03569bb836aa5c949be1c1cc973b2d2e upstream. | ||
8 | |||
9 | [PG: note there was no Author SOB or long log in original.] | ||
10 | Upstream-Status: Backport [ gawk-4.1.1-3-g976f73ab0356 ] | ||
11 | Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | ||
12 | --- | ||
13 | |||
14 | diff --git a/extension/ChangeLog b/extension/ChangeLog | ||
15 | index afd64ff764b6..f3a1c7a81e7d 100644 | ||
16 | --- a/extension/ChangeLog | ||
17 | +++ b/extension/ChangeLog | ||
18 | @@ -1,3 +1,9 @@ | ||
19 | +2014-04-11 Arnold D. Robbins <arnold@skeeve.com> | ||
20 | + | ||
21 | + * Makefile.am (install-data-hook): Use $(DESTDIR) when removing | ||
22 | + the .la files. Thanks to Lars Wendler <polynomial-c@gentoo.org> | ||
23 | + for the report and fix. | ||
24 | + | ||
25 | 2014-04-08 Arnold D. Robbins <arnold@skeeve.com> | ||
26 | |||
27 | * 4.1.1: Release tar ball made. | ||
28 | diff --git a/extension/Makefile.am b/extension/Makefile.am | ||
29 | index 9c49bb81abb2..11826e2b315e 100644 | ||
30 | --- a/extension/Makefile.am | ||
31 | +++ b/extension/Makefile.am | ||
32 | @@ -100,7 +100,7 @@ testext_la_LIBADD = $(MY_LIBS) | ||
33 | |||
34 | install-data-hook: | ||
35 | for i in $(pkgextension_LTLIBRARIES) ; do \ | ||
36 | - $(RM) $(pkgextensiondir)/$$i ; \ | ||
37 | + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ | ||
38 | done | ||
39 | |||
40 | # Keep the uninstall check working: | ||
41 | diff --git a/extension/Makefile.in b/extension/Makefile.in | ||
42 | index 040cdb8f4e23..d81b16960935 100644 | ||
43 | --- a/extension/Makefile.in | ||
44 | +++ b/extension/Makefile.in | ||
45 | @@ -1231,7 +1231,7 @@ uninstall-man: uninstall-man3 | ||
46 | |||
47 | install-data-hook: | ||
48 | for i in $(pkgextension_LTLIBRARIES) ; do \ | ||
49 | - $(RM) $(pkgextensiondir)/$$i ; \ | ||
50 | + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ | ||
51 | done | ||
52 | |||
53 | # Keep the uninstall check working: | ||
54 | -- | ||
55 | 1.9.1 | ||
56 | |||
diff --git a/meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch b/meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch deleted file mode 100644 index b402587615..0000000000 --- a/meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | From a9f3bd754e9e269099cf7a2c931c632fcc12bd8a Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Gortmaker <paul.gortmaker@windriver.com> | ||
3 | Date: Fri, 13 Jun 2014 13:42:12 -0400 | ||
4 | Subject: [PATCH] extension: Add $(DESTDIR) prefix to remaining pkgextensiondir | ||
5 | instances | ||
6 | |||
7 | Commit 976f73ab03569bb836aa5c949be1c1cc973b2d2e ["Use $(DESTDIR) in | ||
8 | extension/Makefile.am when removing .la files."] fixed an issue | ||
9 | that manifested itself as follows when cross compiling: | ||
10 | |||
11 | make[4]: Entering directory 'gawk/4.1.1-r0/build/extension' | ||
12 | for i in filefuncs.la fnmatch.la fork.la inplace.la ordchr.la readdir.la readfi | ||
13 | le.la revoutput.la revtwoway.la rwarray.la testext.la time.la ; do \ | ||
14 | rm -f /usr/lib/gawk/$i ; \ | ||
15 | done | ||
16 | rm: cannot remove '/usr/lib/gawk/filefuncs.la': Permission denied | ||
17 | rm: cannot remove '/usr/lib/gawk/fnmatch.la': Permission denied | ||
18 | rm: cannot remove '/usr/lib/gawk/fork.la': Permission denied | ||
19 | rm: cannot remove '/usr/lib/gawk/inplace.la': Permission denied | ||
20 | rm: cannot remove '/usr/lib/gawk/ordchr.la': Permission denied | ||
21 | rm: cannot remove '/usr/lib/gawk/readdir.la': Permission denied | ||
22 | rm: cannot remove '/usr/lib/gawk/readfile.la': Permission denied | ||
23 | rm: cannot remove '/usr/lib/gawk/revoutput.la': Permission denied | ||
24 | rm: cannot remove '/usr/lib/gawk/revtwoway.la': Permission denied | ||
25 | rm: cannot remove '/usr/lib/gawk/rwarray.la': Permission denied | ||
26 | rm: cannot remove '/usr/lib/gawk/testext.la': Permission denied | ||
27 | rm: cannot remove '/usr/lib/gawk/time.la': Permission denied | ||
28 | Makefile:1235: recipe for target 'install-data-hook' failed | ||
29 | |||
30 | The problem only manifests itself on hosts where the above files | ||
31 | are already present; for if they are absent then the rm -f does | ||
32 | not fail with -EPERM. The fix in 976f73ab0356 ensured that DESTDIR | ||
33 | was used for the prefix so that it didn't try to delete host files. | ||
34 | |||
35 | However there still remains less used instances of where it is used | ||
36 | w/o $(DESTDIR) that may still cause similar breakage in the future. | ||
37 | Here we apply the same change to them. | ||
38 | |||
39 | Upstream-Status: Submitted [http://lists.gnu.org/archive/html/bug-gawk/2014-06/index.html] | ||
40 | Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | ||
41 | --- | ||
42 | |||
43 | diff --git a/extension/ChangeLog b/extension/ChangeLog | ||
44 | index f3a1c7a81e7d..b87ac372edc6 100644 | ||
45 | --- a/extension/ChangeLog | ||
46 | +++ b/extension/ChangeLog | ||
47 | @@ -1,3 +1,10 @@ | ||
48 | +2014-06-13 Paul Gortmaker <paul.gortmaker@windriver.com> | ||
49 | + * Makefile.am (uninstall-so): Came across below bug while cross | ||
50 | + compiling, and changed both install-data-hook and uninstall-so | ||
51 | + to use $(DESTDIR) on v4.1.1 before seeing most of the fix in | ||
52 | + gawk-4.1.1-3-g976f73ab0356; here we ensure uninstall-so also | ||
53 | + uses the $(DESTDIR) prefix on its use of pkgextensiondir. | ||
54 | + | ||
55 | 2014-04-11 Arnold D. Robbins <arnold@skeeve.com> | ||
56 | |||
57 | * Makefile.am (install-data-hook): Use $(DESTDIR) when removing | ||
58 | diff --git a/extension/Makefile.am b/extension/Makefile.am | ||
59 | index 11826e2b315e..b6beaee3fb47 100644 | ||
60 | --- a/extension/Makefile.am | ||
61 | +++ b/extension/Makefile.am | ||
62 | @@ -105,7 +105,7 @@ install-data-hook: | ||
63 | |||
64 | # Keep the uninstall check working: | ||
65 | uninstall-so: | ||
66 | - $(RM) $(pkgextensiondir)/*.so | ||
67 | + $(RM) $(DESTDIR)$(pkgextensiondir)/*.so | ||
68 | |||
69 | uninstall-recursive: uninstall-so | ||
70 | |||
71 | diff --git a/extension/Makefile.in b/extension/Makefile.in | ||
72 | index d81b16960935..294e4f887812 100644 | ||
73 | --- a/extension/Makefile.in | ||
74 | +++ b/extension/Makefile.in | ||
75 | @@ -1236,7 +1236,7 @@ install-data-hook: | ||
76 | |||
77 | # Keep the uninstall check working: | ||
78 | uninstall-so: | ||
79 | - $(RM) $(pkgextensiondir)/*.so | ||
80 | + $(RM) $(DESTDIR)$(pkgextensiondir)/*.so | ||
81 | |||
82 | uninstall-recursive: uninstall-so | ||
83 | |||
84 | -- | ||
85 | 1.9.1 | ||
86 | |||
diff --git a/meta/recipes-extended/gawk/gawk-4.1.1/run-ptest b/meta/recipes-extended/gawk/gawk-4.1.3/run-ptest index d23f0bf6d7..d23f0bf6d7 100644 --- a/meta/recipes-extended/gawk/gawk-4.1.1/run-ptest +++ b/meta/recipes-extended/gawk/gawk-4.1.3/run-ptest | |||
diff --git a/meta/recipes-extended/gawk/gawk_4.1.1.bb b/meta/recipes-extended/gawk/gawk_4.1.3.bb index 0a1811bb74..d1a88e45a9 100644 --- a/meta/recipes-extended/gawk/gawk_4.1.1.bb +++ b/meta/recipes-extended/gawk/gawk_4.1.3.bb | |||
@@ -17,12 +17,10 @@ PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" | |||
17 | 17 | ||
18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ | 18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ |
19 | file://run-ptest \ | 19 | file://run-ptest \ |
20 | file://Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch \ | ||
21 | file://extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch \ | ||
22 | " | 20 | " |
23 | 21 | ||
24 | SRC_URI[md5sum] = "45f5b09aa87b4744c4c53bf274e96ed0" | 22 | SRC_URI[md5sum] = "55d37f4069502677f25d1340df8eec97" |
25 | SRC_URI[sha256sum] = "556464bd2e4bc5a0fad4526b59623e4be40b4c2f4c663dfaaf246af6e2ec1d62" | 23 | SRC_URI[sha256sum] = "524effa5b9ecd4ed940f2581c5d3c1df4e4bd7e6f768aa033c1916f47dfc6e29" |
26 | 24 | ||
27 | inherit autotools gettext texinfo update-alternatives | 25 | inherit autotools gettext texinfo update-alternatives |
28 | 26 | ||