From: Philip Prindeville Date: Sun, 3 Aug 2025 18:44:23 +0000 (-0600) Subject: cligen: Update to 7.5.0 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=fce75797755b1ec7e143a5aa263c616eb2636127;p=feed%2Fpackages.git cligen: Update to 7.5.0 "const" patches still haven't been upstreamed. Signed-off-by: Philip Prindeville --- diff --git a/utils/cligen/Makefile b/utils/cligen/Makefile index e36ea77977..1881a34156 100644 --- a/utils/cligen/Makefile +++ b/utils/cligen/Makefile @@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cligen -PKG_VERSION:=7.4.0 -PKG_RELEASE:=2 +PKG_VERSION:=7.5.0 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/clicon/$(PKG_NAME)/tar.gz/$(PKG_VERSION)? -PKG_HASH:=cfbeec48103170720450b03d03593d18fecdd365c0d1f1936ddb46e260699466 +PKG_HASH:=e9baf98e41f53fd8b03b4bff622c25c9c86fc1fc3f99c4fb7b63eb8a4265dbd1 PKG_MAINTAINER:=Olof Hagsand , Philip Prindeville PKG_LICENSE:=Apache-2.0 diff --git a/utils/cligen/patches/010-gcc15.patch b/utils/cligen/patches/010-gcc15.patch index 6d257b73ce..613451da67 100644 --- a/utils/cligen/patches/010-gcc15.patch +++ b/utils/cligen/patches/010-gcc15.patch @@ -10,10 +10,10 @@ -int (*gl_qmark_hook)() = NULL; -int (*gl_susp_hook)() = NULL; -int (*gl_interrupt_hook)() = NULL; -+int (*gl_in_hook)(void *, char *) = NULL; -+int (*gl_out_hook)(void *, char *) = NULL; ++int (*gl_in_hook)(void *, const char *) = NULL; ++int (*gl_out_hook)(void *, const char *) = NULL; +int (*gl_tab_hook)(cligen_handle, int *) = NULL; -+int (*gl_qmark_hook)(cligen_handle, char *) = NULL; ++int (*gl_qmark_hook)(cligen_handle, const char *) = NULL; +int (*gl_susp_hook)(void *, char *, int, int *) = NULL; +int (*gl_interrupt_hook)(cligen_handle) = NULL;