diff --git a/gcc14.patch b/gcc14.patch new file mode 100644 index 0000000..bb23960 --- /dev/null +++ b/gcc14.patch @@ -0,0 +1,21 @@ +From: Jan Engelhardt +Date: 2024-11-02 12:25:17.618681179 +0100 +Upstream: is-dead + +--- + gperiodic.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: gperiodic-3.0.3/gperiodic.c +=================================================================== +--- gperiodic-3.0.3.orig/gperiodic.c ++++ gperiodic-3.0.3/gperiodic.c +@@ -137,7 +137,7 @@ void display_element_dialog( GtkWidget * + 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); diff --git a/gperiodic.changes b/gperiodic.changes index 13fe6e7..08028a6 100644 --- a/gperiodic.changes +++ b/gperiodic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 2 11:25:26 UTC 2024 - Jan Engelhardt + +- Add gcc14.patch + ------------------------------------------------------------------- Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt diff --git a/gperiodic.spec b/gperiodic.spec index 6896c45..6a9579e 100644 --- a/gperiodic.spec +++ b/gperiodic.spec @@ -23,8 +23,8 @@ Summary: A program for looking up data of elements from the periodic tabl License: GPL-2.0-or-later Group: Productivity/Scientific/Chemistry URL: http://gperiodic.sf.net/ - Source: http://download.sf.net/gperiodic/%name-%version.tar.gz +Patch1: gcc14.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig(gtk+-2.0)