bump(main/json-glib): 1.10.0

Remove json-glib-json-scanner.c.patch file which was added in upstream.
7f29110cab
This commit is contained in:
termux-pacman-bot
2024-08-31 05:08:46 +00:00
parent 5f9a72c9ed
commit 080fc45e3d
2 changed files with 2 additions and 25 deletions

View File

@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/JsonGlib
TERMUX_PKG_DESCRIPTION="GLib JSON manipulation library"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.9.2"
TERMUX_PKG_VERSION="1.10.0"
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/json-glib/${TERMUX_PKG_VERSION%.*}/json-glib-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=8f9f04e0045bda82affd464ee575796600fe29014b817392a3b72ceb2d10c595
TERMUX_PKG_SHA256=1bca8d66d96106ecc147df3133b95a5bb784f1fa6f15d06dd7c1a8fb4a10af7b
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="glib"
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner"

View File

@@ -1,23 +0,0 @@
clang 17 error.
clang 18 warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
Modified in https://gitlab.gnome.org/GNOME/json-glib/-/commit/3ae0b3588096218bf7287ec15ae80abeb23ef04b
--- a/json-glib/json-scanner.c
+++ b/json-glib/json-scanner.c
@@ -808,6 +808,7 @@
switch (ch)
{
+ guint fchar;
case 0:
token = JSON_TOKEN_EOF;
(*position_p)++;
@@ -889,7 +890,7 @@
break;
case 'u':
- guint fchar = json_scanner_peek_next_char (scanner);
+ fchar = json_scanner_peek_next_char (scanner);
if (is_hex_digit (fchar))
{
gunichar ucs;