gentoo-ebuilds/sci-chemistry/gperiodic/files/gperiodic-3.0.3-incompatible-pointers.patch
NHOrus 2f719e9dda
sci-chemistry/gperiodic: update EAPI 7 -> 8, incompatible pointer types
Fix compilation problem with GCC-15

Bug: https://bugs.gentoo.org/919213
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40148
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 09:26:45 +00:00

13 lines
480 B
Diff

https://bugs.gentoo.org/919213
Cast pointer as it is cast everywhere around it
--- a/gperiodic.c
+++ b/gperiodic.c
@@ -137,7 +137,7 @@
if (col == 0) gtk_label_set_markup (GTK_LABEL (label), _(header.info[row]));
else {
gtk_label_set_markup (GTK_LABEL (label), _(entry->info[row]));
- gtk_label_set_selectable (label, TRUE);
+ gtk_label_set_selectable (GTK_LABEL (label), TRUE);
}
gtk_misc_set_alignment(GTK_MISC(label), 0, 0);