diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-06-28 08:32:15 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-28 11:22:05 -0700 |
| commit | be59cf4cb56ddb2d31a8f14f74eeda805168f538 (patch) | |
| tree | cc9ae4aed501f08998ced9bb0f71ab405d98baad | |
| parent | 44b363f89ecd746ee86452f9f74126e6bc03fe18 (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch | 16 | ||||
| -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 ab5af3fa8c..37c81d9b8f 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 | |||
| 17 | Upstream-Status: Pending | 17 | Upstream-Status: Pending |
| 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 18 | Signed-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 | ||
| 23 | diff --git a/testtyp.c b/testtyp.c | 23 | diff --git a/testtyp.c b/testtyp.c |
| 24 | index 949c3d4..4042f73 100644 | 24 | index 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 | -- |
| 39 | 2.37.3 | 37 | 2.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 421823d9cd..7951e0ddbd 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 | ||
| 15 | SRC_URI[sha256sum] = "fb9efea8c7b5ed5f8ea5dee49d35252accfc05ee6e75cb9a37ab7c847cd261d7" | 15 | SRC_URI[sha256sum] = "84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/Curses-${PV}" | 17 | S = "${WORKDIR}/Curses-${PV}" |
| 18 | 18 | ||
