From a640a9c1f2fa0546328ba3a948372f2627910369 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 18 Jun 2024 18:15:33 +0200 Subject: [PATCH] app-text/xdvik: adjust c99 patch (again) Stupid me somehow messed up the previous patch. Was sure that I tested it with gcc-14, but no. Pretty sure this fixes gcc-14 compilation for real. Closes: https://bugs.gentoo.org/934517 Signed-off-by: Florian Schmaus --- app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch b/app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch index 1309ba823541a..4c16f0abd9c4a 100644 --- a/app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch +++ b/app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch @@ -34,7 +34,7 @@ index 945ae760fa..913db11264 100644 /* delete and re-create list */ ASSERT(total_pages <= (int)page_info.index_size, ""); - XawListChange(LIST_WIDGET, page_info.page_labels, 0, -+ XawListChange(LIST_WIDGET, (const char**) page_info.page_labels, 0, ++ XawListChange(LIST_WIDGET, (char**) page_info.page_labels, 0, MAX(button_width, pagelist_width), False); /* restore selected item */ if (idx != XAW_LIST_NONE) {