summaryrefslogtreecommitdiff
path: root/sci-calculators/transcalc/files/transcalc-0.14-gcc14-build-fix.patch
blob: 2da5c78df8ada54164f5a8d612db3ab58d77476f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Bug: https://bugs.gentoo.org/927899
--- a/src/print_trans.c
+++ b/src/print_trans.c
@@ -61,8 +61,9 @@ get_trans_text ()
   gchar *retval = NULL;
   trans_label *tlabel;
   int i;
-  const gchar *newch1=NULL, *newch2 = NULL;
-  const gchar *tmpstr=NULL;
+  gchar *newch1=NULL;
+  const gchar *newch2 = NULL;
+  gchar *tmpstr=NULL;
   GString *s = g_string_new (NULL);