Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnudos for openSUSE:Factory checked 
in at 2025-05-27 18:44:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnudos (Old)
 and      /work/SRC/openSUSE:Factory/.gnudos.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnudos"

Tue May 27 18:44:24 2025 rev:2 rq:1280638 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnudos/gnudos.changes    2024-08-16 
12:24:44.801766824 +0200
+++ /work/SRC/openSUSE:Factory/.gnudos.new.2732/gnudos.changes  2025-05-27 
18:44:39.042763417 +0200
@@ -1,0 +2,7 @@
+Tue May  6 13:43:49 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  fix build with gcc15
+  + gnudos-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  gnudos-gcc15.patch

BETA DEBUG BEGIN:
  New:  fix build with gcc15
  + gnudos-gcc15.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnudos.spec ++++++
--- /var/tmp/diff_new_pack.Z86xO3/_old  2025-05-27 18:44:39.670789845 +0200
+++ /var/tmp/diff_new_pack.Z86xO3/_new  2025-05-27 18:44:39.670789845 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package gnudos
 #
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,6 +27,8 @@
 Source:         https://ftp.gnu.org/pub/gnu/gnudos/%{name}-2.0.tar.gz
 Source2:        https://ftp.gnu.org/pub/gnu/gnudos/%{name}-2.0.tar.gz.sig
 Source3:        
https://savannah.gnu.org/people/viewgpg.php?user_id=94484#/%{name}.keyring
+# fix build with gcc15
+Patch0:         gnudos-gcc15.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(ncursesw)
 


++++++ gnudos-gcc15.patch ++++++
diff -upr gnudos-2.0.orig/src/mino/main.c gnudos-2.0/src/mino/main.c
--- gnudos-2.0.orig/src/mino/main.c     2025-05-06 13:31:46.993761252 +0000
+++ gnudos-2.0/src/mino/main.c  2025-05-06 13:33:13.663788279 +0000
@@ -47,7 +47,7 @@
 #include "modules/modules.h"
 
 extern char *STARTUP_FILE_NAME;     /* init.c */
-extern void checkFileExtension();
+extern void checkFileExtension(char *open_file_name);
 
 static void drawMenuBar(int x, int y, int w);
 static void drawScrollBar(void);
diff -upr gnudos-2.0.orig/src/mino/menu.c gnudos-2.0/src/mino/menu.c
--- gnudos-2.0.orig/src/mino/menu.c     2025-05-06 13:31:46.993824453 +0000
+++ gnudos-2.0/src/mino/menu.c  2025-05-06 13:34:37.826784027 +0000
@@ -61,7 +61,7 @@ int endme;
 int menuIndex;
 struct menustruct *curMenu;
 
-char *(*fileFuncs[])() =
+char *(*fileFuncs[])(char *) =
 {
     fileMenu_New, fileMenu_Open, fileMenu_Save, fileMenu_SaveAs, 
     fileMenu_Print, fileMenu_Exit
diff -upr gnudos-2.0.orig/src/prime/menu.c gnudos-2.0/src/prime/menu.c
--- gnudos-2.0.orig/src/prime/menu.c    2025-05-06 13:31:46.992608406 +0000
+++ gnudos-2.0/src/prime/menu.c 2025-05-06 13:41:23.759034259 +0000
@@ -59,7 +59,7 @@ void (*fileFuncs[])() =
 
 void (*editFuncs[])() =
 {
-    cutMarked, copyMarked, pasteMarked, markAll, unMarkAll, 
+    cutMarked, copyMarked, pasteMarked, (void(*)(void))markAll, 
(void(*)(void))unMarkAll, 
     clearSelection, editMenu_Find,
     editMenu_Properties
 };

Reply via email to