diff options
Diffstat (limited to 'meta-perl/recipes-perl/libcurses')
-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) | 7 |
2 files changed, 11 insertions, 12 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..e6fc3c8300 100644 --- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.bb +++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb | |||
@@ -2,19 +2,20 @@ DESCRIPTION = "lib-curses provides an interface between Perl programs and \ | |||
2 | the curses library." | 2 | the curses library." |
3 | 3 | ||
4 | SECTION = "libs" | 4 | SECTION = "libs" |
5 | HOMEPAGE = "https://metacpan.org/pod/Curses" | ||
5 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | 6 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
6 | 7 | ||
7 | LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" | 8 | LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" |
8 | 9 | ||
9 | DEPENDS += "perl ncurses " | 10 | DEPENDS += "perl ncurses " |
10 | 11 | ||
11 | SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \ | 12 | SRC_URI = "${CPAN_MIRROR}/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \ |
12 | file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \ | 13 | file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \ |
13 | " | 14 | " |
14 | 15 | ||
15 | SRC_URI[sha256sum] = "fb9efea8c7b5ed5f8ea5dee49d35252accfc05ee6e75cb9a37ab7c847cd261d7" | 16 | SRC_URI[sha256sum] = "84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2" |
16 | 17 | ||
17 | S = "${WORKDIR}/Curses-${PV}" | 18 | S = "${UNPACKDIR}/Curses-${PV}" |
18 | 19 | ||
19 | EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS=-L${STAGING_LIBDIR} TEST_SYMS_OPTS=-v" | 20 | EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS=-L${STAGING_LIBDIR} TEST_SYMS_OPTS=-v" |
20 | 21 | ||