summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-06-18 18:15:33 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-18 18:16:57 +0200
commita640a9c1f2fa0546328ba3a948372f2627910369 (patch)
treee0156b5681221fe848c7cad3fdeddbebefb6278f /app-text/xdvik
parentdev-python/python-gnupg: fix variable order (diff)
downloadgentoo-a640a9c1f2fa0546328ba3a948372f2627910369.tar.gz
gentoo-a640a9c1f2fa0546328ba3a948372f2627910369.tar.bz2
gentoo-a640a9c1f2fa0546328ba3a948372f2627910369.zip
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 <flow@gentoo.org>
Diffstat (limited to 'app-text/xdvik')
-rw-r--r--app-text/xdvik/files/xdvik-22.87.06-c99-fix.patch2
1 files changed, 1 insertions, 1 deletions
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 1309ba823541..4c16f0abd9c4 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) {