Hello, Update for Zile to 2.6.2:
https://www.gnu.org/software/zile/ OK? Comments? Cheers.- Index: Makefile =================================================================== RCS file: /cvs/ports/editors/zile/Makefile,v retrieving revision 1.53 diff -u -p -r1.53 Makefile --- Makefile 11 Mar 2022 18:58:40 -0000 1.53 +++ Makefile 11 Feb 2023 23:26:27 -0000 @@ -1,5 +1,5 @@ COMMENT= lightweight Emacs clone -DISTNAME= zile-2.4.15 +DISTNAME= zile-2.6.2 CATEGORIES= editors HOMEPAGE= https://www.gnu.org/software/zile/ @@ -8,12 +8,14 @@ MAINTAINER= Gonzalo L. R. <gonzalo@open # GPLv3+ PERMIT_PACKAGE= Yes -WANTLIB += c curses gc pthread +WANTLIB += c curses gee-0.8 gio-2.0 glib-2.0 gobject-2.0 intl +WANTLIB += pthread MASTER_SITES= ${MASTER_SITE_GNU:=zile/} - -LIB_DEPENDS= devel/boehm-gc +LIB_DEPENDS= devel/boehm-gc \ + devel/glib2 \ + devel/libgee BUILD_DEPENDS= devel/help2man Index: distinfo =================================================================== RCS file: /cvs/ports/editors/zile/distinfo,v retrieving revision 1.40 diff -u -p -r1.40 distinfo --- distinfo 9 Dec 2020 10:24:57 -0000 1.40 +++ distinfo 11 Feb 2023 23:26:27 -0000 @@ -1,2 +1,2 @@ -SHA256 (zile-2.4.15.tar.gz) = OcMAo094w3umd5PPdGhZNaFVaOFCN6Omb9qPz0DjA14= -SIZE (zile-2.4.15.tar.gz) = 1490611 +SHA256 (zile-2.6.2.tar.gz) = d+t9r/PJi9yI2qGsBA3MynK4HcMvwxZuB53Xpj5Cx0E= +SIZE (zile-2.6.2.tar.gz) = 1152751 Index: patches/patch-lib_vasnprintf_c =================================================================== RCS file: patches/patch-lib_vasnprintf_c diff -N patches/patch-lib_vasnprintf_c --- patches/patch-lib_vasnprintf_c 11 Mar 2022 18:58:40 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -Don't use printf %n. -https://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/vasnprintf.c?id=b954346c6101860c7b462d1b286641d1307afd6c - -Index: lib/vasnprintf.c ---- lib/vasnprintf.c.orig -+++ lib/vasnprintf.c -@@ -4871,10 +4871,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, - #endif - *fbp = dp->conversion; - #if USE_SNPRINTF --# if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ -- && !defined __UCLIBC__) \ -- || (defined __APPLE__ && defined __MACH__) \ -- || (defined _WIN32 && ! defined __CYGWIN__)) -+# if 0 - fbp[1] = '%'; - fbp[2] = 'n'; - fbp[3] = '\0'; Index: patches/patch-src_funcs_c =================================================================== RCS file: patches/patch-src_funcs_c diff -N patches/patch-src_funcs_c --- patches/patch-src_funcs_c 11 Mar 2022 18:58:40 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -Index: src/funcs.c ---- src/funcs.c.orig -+++ src/funcs.c -@@ -1115,14 +1115,11 @@ END_DEFUN - /* The `start' and `end' arguments are fake, hence their string type, - so they can be ignored, hence the pragma (FIXME: work out how to - apply just to `start' and `end'). */ --#pragma GCC diagnostic push --#pragma GCC diagnostic ignored "-Wunused-but-set-variable" - DEFUN_ARGS ("shell-command-on-region", shell_command_on_region, - STR_ARG (start) - STR_ARG (end) - STR_ARG (cmd) - BOOL_ARG (insert)) --#pragma GCC diagnostic pop - /*+ - Execute string command in inferior shell with region as input. - Normally display output (if any) in temp buffer `*Shell Command Output*'; Index: patches/patch-src_minibuf_c =================================================================== RCS file: patches/patch-src_minibuf_c diff -N patches/patch-src_minibuf_c --- patches/patch-src_minibuf_c 11 Mar 2022 18:58:40 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -Index: src/minibuf.c ---- src/minibuf.c.orig -+++ src/minibuf.c -@@ -280,10 +280,7 @@ minibuf_vread_completion (const char *fmt, const char - } - else - { --#pragma GCC diagnostic push --#pragma GCC diagnostic ignored "-Wformat-nonliteral" - minibuf_error (invalid_err, astr_cstr (ms)); --#pragma GCC diagnostic pop - waitkey (); - } - } -- %gonzalo