gnome-console: upgrade 47.1 -> 50.0

Dropped patch which is now merged in the upstream version.

https://gitlab.gnome.org/GNOME/console/-/blob/50.0/NEWS?ref_type=tags

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi authored and Khem Raj committed 2026-08-01 08:41:51 -07:00
1 parent df17223916
commit 573a277151
2 files changed
+2 -36

No files matched your search

@@ -1,34 +0,0 @@
From e72f6da3d509561b75e223667a0380772e7bd48a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 23 Sep 2024 20:38:09 -0700
Subject: [PATCH] include locale.h for setlocale()
This issue is surfaced on systems+clang
Fixes
../gnome-console-47.0/src/main.c:29:3: error: call to undeclared function 'setlocale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
29 | setlocale (LC_ALL, "");
| ^
../gnome-console-47.0/src/main.c:29:14: error: use of undeclared identifier 'LC_ALL'
29 | setlocale (LC_ALL, "");
| ^
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/console/-/merge_requests/171]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index af9c5a5..5d16160 100644
--- a/src/main.c
+++ b/src/main.c
@@ -17,7 +17,7 @@
*/
#include <glib/gi18n.h>
-
+#include <locale.h>
#include <kgx.h>
int
@@ -17,8 +17,8 @@ DEPENDS = " \
pcre2 \
vte \
"
SRC_URI += "file://0001-include-locale.h-for-setlocale.patch"
SRC_URI[archive.sha256sum] = "d3f600b45b51716691aee92870332e9c9a8ca89d553565f3131d9e28074725d0"
SRC_URI[archive.sha256sum] = "e4950207f0547e6a6c0f18eebfcf6e1a10461eab0f2fae0aae512b1044c7ac6e"
PACKAGECONFIG ?= ""
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"