opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 97e232f69940cb086e7f7f0e8f373e94ef86dba1
Parent: bef456a043a8c5daa5848d2b8ad124ca4f96e3df
Author: Randy Palamar
Date:   Tue,  2 Jan 2024 14:08:31 -0700

less: update to version 643

Diffstat:
Mpkg/sys/less/.gitignore | 2+-
Mpkg/sys/less/defines.h | 16++++++++--------
Mpkg/sys/less/gen.lua | 3++-
Dpkg/sys/less/patch/0001-Fix-compiler-warning.patch | 49-------------------------------------------------
Mpkg/sys/less/sha256 | 2+-
Mpkg/sys/less/url | 2+-
Mpkg/sys/less/ver | 2+-
7 files changed, 14 insertions(+), 62 deletions(-)

diff --git a/pkg/sys/less/.gitignore b/pkg/sys/less/.gitignore @@ -1,2 +1,2 @@ -/less-590.tar.gz +/less-643.tar.gz /src diff --git a/pkg/sys/less/defines.h b/pkg/sys/less/defines.h @@ -1,4 +1,3 @@ -#define BINDIR "/bin" #define SYSDIR "/etc" #define SECURE SECURE_COMPILE @@ -57,6 +56,7 @@ #define TAGLINE_SIZE 1024 /* Max size of line in tags file */ #define TABSTOP_MAX 128 /* Max number of custom tab stops */ #endif +#define RETSIGTYPE void #define EDIT_PGM "vi" #define HAVE_CONST 1 #define HAVE_CTYPE_H 1 @@ -65,20 +65,22 @@ #define HAVE_FCHMOD 1 #define HAVE_FCNTL_H 1 #define HAVE_FILENO 1 -#define HAVE_FLOAT 1 #define HAVE_FSYNC 1 /* #undef HAVE_GNU_REGEX */ #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 +/* #undef HAVE_LINUX_MAGIC_H */ #define HAVE_LOCALE 1 -#define HAVE_MEMORY_H 1 #define HAVE_NANOSLEEP 1 +/* #undef HAVE_NCURSESW_TERMCAP_H */ +/* #undef HAVE_NCURSES_TERMCAP_H */ #define HAVE_OSPEED 1 /* #undef HAVE_PCRE */ /* #undef HAVE_PCRE2 */ #define HAVE_POLL 1 #define HAVE_POPEN 1 #define HAVE_POSIX_REGCOMP 1 +/* #undef HAVE_PROCFS */ #define HAVE_REALPATH 1 /* #undef HAVE_REGCMP */ /* #undef HAVE_REGEXEC2 */ @@ -90,18 +92,21 @@ #define HAVE_SNPRINTF 1 #define HAVE_STAT 1 #define HAVE_STAT_INO 1 +/* #undef HAVE_STDCKDINT_H */ #define HAVE_STDINT_H 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRERROR 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 +#define HAVE_STRSIGNAL 1 #define HAVE_SYSTEM 1 #define HAVE_SYS_ERRLIST 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 /* #undef HAVE_SYS_STREAM_H */ #define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_WAIT_H 1 #define HAVE_TERMCAP_H 1 #define HAVE_TERMIOS_FUNCS 1 #define HAVE_TERMIOS_H 1 @@ -127,14 +132,9 @@ #define PACKAGE_TARNAME "less" #define PACKAGE_URL "" #define PACKAGE_VERSION "1" -#define RETSIGTYPE void #define SECURE_COMPILE 0 /* #undef STAT_MACROS_BROKEN */ #define STDC_HEADERS 1 -#define TIME_WITH_SYS_TIME 1 -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif /* #undef _FILE_OFFSET_BITS */ /* #undef _LARGE_FILES */ /* #undef const */ diff --git a/pkg/sys/less/gen.lua b/pkg/sys/less/gen.lua @@ -12,7 +12,8 @@ objects([[ exe('less', [[ main.c screen.c brac.c ch.c charset.c cmdbuf.c command.c cvt.c decode.c edit.c filename.c forwback.c - help.c ifile.c input.c jump.c line.c linenum.c + help.c ifile.c input.c jump.c + line.c linenum.c lsystem.c mark.c optfunc.c option.c opttbl.c os.c output.c pattern.c position.c prompt.c search.c signal.c tags.c ttyin.c version.c.o xbuf.c.o diff --git a/pkg/sys/less/patch/0001-Fix-compiler-warning.patch b/pkg/sys/less/patch/0001-Fix-compiler-warning.patch @@ -1,49 +0,0 @@ -From a13b37473388ed731c2dc96c6bf2b053a4de26c3 Mon Sep 17 00:00:00 2001 -From: Mark Nudelman <markn@greenwoodsoftware.com> -Date: Tue, 27 Jul 2021 10:33:14 -0700 -Subject: [PATCH] Fix compiler warning. - ---- - funcs.h | 2 +- - xbuf.c | 2 +- - xbuf.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/funcs.h b/funcs.h -index 330540a..29de5d3 100644 ---- a/funcs.h -+++ b/funcs.h -@@ -351,4 +351,4 @@ public int getchr LESSPARAMS ((VOID_PARAM)); - public void xbuf_init LESSPARAMS ((struct xbuffer *xbuf)); - public void xbuf_deinit LESSPARAMS ((struct xbuffer *xbuf)); - public void xbuf_reset LESSPARAMS ((struct xbuffer *xbuf)); --public void xbuf_add LESSPARAMS ((struct xbuffer *xbuf, char ch)); -+public void xbuf_add LESSPARAMS ((struct xbuffer *xbuf, int ch)); -diff --git a/xbuf.c b/xbuf.c -index f20dfae..cc6ec47 100644 ---- a/xbuf.c -+++ b/xbuf.c -@@ -34,7 +34,7 @@ xbuf_reset(xbuf) - public void - xbuf_add(xbuf, ch) - struct xbuffer *xbuf; -- char ch; -+ int ch; - { - if (xbuf->end >= xbuf->size) - { -diff --git a/xbuf.h b/xbuf.h -index ba62ef1..b6bd160 100644 ---- a/xbuf.h -+++ b/xbuf.h -@@ -10,6 +10,6 @@ struct xbuffer - - void xbuf_init(struct xbuffer *xbuf); - void xbuf_reset(struct xbuffer *xbuf); --void xbuf_add(struct xbuffer *xbuf, char ch); -+void xbuf_add(struct xbuffer *xbuf, int ch); - - #endif --- -2.32.0 - diff --git a/pkg/sys/less/sha256 b/pkg/sys/less/sha256 @@ -1 +1 @@ -6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10 less-590.tar.gz +2911b5432c836fa084c8a2e68f6cd6312372c026a58faaa98862731c8b6052e8 less-643.tar.gz diff --git a/pkg/sys/less/url b/pkg/sys/less/url @@ -1 +1 @@ -url = "http://www.greenwoodsoftware.com/less/less-590.tar.gz" +url = "http://www.greenwoodsoftware.com/less/less-643.tar.gz" diff --git a/pkg/sys/less/ver b/pkg/sys/less/ver @@ -1 +1 @@ -590 r0 +643 r0