Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package oneko for openSUSE:Factory checked 
in at 2025-06-11 16:22:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oneko (Old)
 and      /work/SRC/openSUSE:Factory/.oneko.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oneko"

Wed Jun 11 16:22:18 2025 rev:19 rq:1284410 version:1.2.sakura.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/oneko/oneko.changes      2024-11-06 
16:57:14.985232875 +0100
+++ /work/SRC/openSUSE:Factory/.oneko.new.19631/oneko.changes   2025-06-11 
16:23:26.100734386 +0200
@@ -1,0 +2,7 @@
+Mon Jun  9 14:20:19 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  build with gcc15
+  + oneko-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  oneko-gcc15.patch

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

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

Other differences:
------------------
++++++ oneko.spec ++++++
--- /var/tmp/diff_new_pack.lvCCD5/_old  2025-06-11 16:23:26.868766435 +0200
+++ /var/tmp/diff_new_pack.lvCCD5/_new  2025-06-11 16:23:26.868766435 +0200
@@ -25,6 +25,8 @@
 URL:            https://www.daidouji.com/oneko/
 Source0:        %{URL}/distfiles/oneko-%{version}.tar.gz
 Patch0:         oneko-gcc14.patch
+# build with gcc15
+Patch1:         oneko-gcc15.patch
 BuildRequires:  imake
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
@@ -37,6 +39,7 @@
 %prep
 %setup -q -b0
 %patch -P0 -b .p0
+%patch -P 1 -p1
 
 %build
 %global optflags %{optflags} -fpermissive

++++++ oneko-gcc15.patch ++++++
Index: oneko-1.2.sakura.5/oneko.c
===================================================================
--- oneko-1.2.sakura.5.orig/oneko.c
+++ oneko-1.2.sakura.5/oneko.c
@@ -1333,7 +1333,7 @@ NullFunction()
 {
   /* No Operation */
 #if defined(SYSV) || defined(SVR4)
-  signal(SIGALRM, NullFunction);
+  signal(SIGALRM, (void (*)(int))NullFunction);
 #endif /* SYSV || SVR4 */
 }
 
@@ -1556,10 +1556,10 @@ main(argc, argv)
 
   InitScreen(theDisplayName);
 
-  signal(SIGALRM, NullFunction);
-  signal(SIGINT, RestoreCursor);
-  signal(SIGTERM, RestoreCursor);
-  signal(SIGQUIT, RestoreCursor);
+  signal(SIGALRM, (void (*)(int))NullFunction);
+  signal(SIGINT, (void (*)(int))RestoreCursor);
+  signal(SIGTERM, (void (*)(int))RestoreCursor);
+  signal(SIGQUIT, (void (*)(int))RestoreCursor);
 
   SinPiPer8Times3 = sin(PI_PER8 * (double)3);
   SinPiPer8 = sin(PI_PER8);

Reply via email to