mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
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>
This commit is contained in:
@@ -17,24 +17,22 @@ int
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
testtyp.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
testtyp.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/testtyp.c b/testtyp.c
|
||||
index 949c3d4..4042f73 100644
|
||||
index 469cc48..6a48a77 100644
|
||||
--- a/testtyp.c
|
||||
+++ b/testtyp.c
|
||||
@@ -7,7 +7,8 @@
|
||||
#define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "c-config.h"
|
||||
-
|
||||
|
||||
int
|
||||
-main() {
|
||||
+int
|
||||
+main(int argc, char *argv[]) {
|
||||
typedef SYM c_sym_t;
|
||||
+ return 0;
|
||||
}
|
||||
--
|
||||
2.37.3
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \
|
||||
file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "fb9efea8c7b5ed5f8ea5dee49d35252accfc05ee6e75cb9a37ab7c847cd261d7"
|
||||
SRC_URI[sha256sum] = "84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2"
|
||||
|
||||
S = "${WORKDIR}/Curses-${PV}"
|
||||
|
||||
Reference in New Issue
Block a user