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