commit: a640a9c1f2fa0546328ba3a948372f2627910369 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Tue Jun 18 16:15:33 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Jun 18 16:16:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a640a9c1
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 <AT> gentoo.org> 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 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) {
