summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-06-28 08:32:15 +0800
committerKhem Raj <raj.khem@gmail.com>2024-06-28 11:22:05 -0700
commitbe59cf4cb56ddb2d31a8f14f74eeda805168f538 (patch)
treecc9ae4aed501f08998ced9bb0f71ab405d98baad /meta-perl/recipes-perl
parent44b363f89ecd746ee86452f9f74126e6bc03fe18 (diff)
downloadmeta-openembedded-be59cf4cb56ddb2d31a8f14f74eeda805168f538.tar.gz
libcurses-perl: upgrade 1.41 -> 1.45
0001-testtyp.c-Use-proper-prototype-for-main-function.patch refreshed for 1.45 Changelog: ============ - Correct wide character data types to fix compile failure. - Implement A_ITALIC - Fix missing file introduced in 1.42 that prevents all builds from working. - Add missing return type declarations so it works with modern C compilers. - Rename test.syms program to testsyms, because it is a more conventional name format. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl')
-rw-r--r--meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch16
-rw-r--r--meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb (renamed from meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.bb)2
2 files changed, 8 insertions, 10 deletions
diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch b/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch
index ab5af3fa8..37c81d9b8 100644
--- a/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch
+++ b/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch
@@ -17,24 +17,22 @@ int
17Upstream-Status: Pending 17Upstream-Status: Pending
18Signed-off-by: Khem Raj <raj.khem@gmail.com> 18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19--- 19---
20 testtyp.c | 5 +++-- 20 testtyp.c | 3 ++-
21 1 file changed, 3 insertions(+), 2 deletions(-) 21 1 file changed, 2 insertions(+), 1 deletion(-)
22 22
23diff --git a/testtyp.c b/testtyp.c 23diff --git a/testtyp.c b/testtyp.c
24index 949c3d4..4042f73 100644 24index 469cc48..6a48a77 100644
25--- a/testtyp.c 25--- a/testtyp.c
26+++ b/testtyp.c 26+++ b/testtyp.c
27@@ -7,7 +7,8 @@ 27@@ -10,6 +10,7 @@
28 #define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */
29
30 #include "c-config.h" 28 #include "c-config.h"
31- 29
30 int
32-main() { 31-main() {
33+int
34+main(int argc, char *argv[]) { 32+main(int argc, char *argv[]) {
35 typedef SYM c_sym_t; 33 typedef SYM c_sym_t;
36+ return 0; 34+ return 0;
37 } 35 }
38-- 36--
392.37.3 372.34.1
40 38
diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb
index 421823d9c..7951e0ddb 100644
--- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.bb
+++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \
12 file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \ 12 file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \
13 " 13 "
14 14
15SRC_URI[sha256sum] = "fb9efea8c7b5ed5f8ea5dee49d35252accfc05ee6e75cb9a37ab7c847cd261d7" 15SRC_URI[sha256sum] = "84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2"
16 16
17S = "${WORKDIR}/Curses-${PV}" 17S = "${WORKDIR}/Curses-${PV}"
18 18