3 Commits

3 changed files with 32 additions and 1 deletions

22
gummi-gcc15.patch Normal file
View File

@@ -0,0 +1,22 @@
--- gummi-0.8.3/src/configfile.c 2025-03-05 15:21:06.991600345 +0100
+++ gummi-0.8.3/src/configfile.c 2025-03-05 15:11:57.772209585 +0100
@@ -117,7 +117,7 @@ void config_init () {
else {
slog (L_ERROR, "%s\n", error->message);
}
- config_load_defaults (key_file);
+ config_load_defaults ();
}
// replace old welcome texts if still active:
--- gummi-0.8.3/src/template.h 2025-03-05 15:21:06.992644434 +0100
+++ gummi-0.8.3/src/template.h 2025-03-05 15:14:24.827598607 +0100
@@ -52,7 +52,7 @@ typedef struct _Template {
GuTemplate* template_init (GtkBuilder* builder);
-void template_setup ();
+void template_setup (GuTemplate* t);
void template_add_new_entry (GuTemplate* t);
void template_remove_entry (GuTemplate* t);
void template_create_file (GuTemplate* t, gchar* filename, gchar* text);

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 5 14:26:42 UTC 2025 - pgajdos@suse.com
- added patches
fix build with gcc15
+ gummi-gcc15.patch (gh#alexandervdm/gummi#197)
-------------------------------------------------------------------
Wed Feb 19 05:24:20 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -24,6 +24,8 @@ License: MIT
Group: Productivity/Publishing/TeX/Frontends
URL: https://github.com/alexandervdm/gummi
Source0: https://github.com/alexandervdm/gummi/releases/download/%{version}/%{name}-%{version}.tar.gz
# https://github.com/alexandervdm/gummi/issues/197
Patch0: gummi-gcc15.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: intltool
@@ -44,7 +46,7 @@ simplicity in mind, but is useful for both novice and advanced LaTeX writers.
%lang_package
%prep
%autosetup
%autosetup -p1
%build
%configure