1
0
forked from pool/gperiodic

Add gcc14.patch

This commit is contained in:
Jan Engelhardt 2024-11-02 12:26:11 +01:00
parent 9b1934d9cd
commit 957a008b26
3 changed files with 27 additions and 1 deletions

21
gcc14.patch Normal file
View File

@ -0,0 +1,21 @@
From: Jan Engelhardt <jengelh@inai.de>
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);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 2 11:25:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
-------------------------------------------------------------------
Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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)