Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package oneko for openSUSE:Factory checked in at 2024-11-06 16:56:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oneko (Old) and /work/SRC/openSUSE:Factory/.oneko.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oneko" Wed Nov 6 16:56:09 2024 rev:18 rq:1221691 version:1.2.sakura.5 Changes: -------- --- /work/SRC/openSUSE:Factory/oneko/oneko.changes 2021-04-29 22:53:42.693805882 +0200 +++ /work/SRC/openSUSE:Factory/.oneko.new.2020/oneko.changes 2024-11-06 16:57:14.985232875 +0100 @@ -1,0 +2,6 @@ +Wed Nov 6 07:53:19 UTC 2024 - Dr. Werner Fink <wer...@suse.de> + +- Add patch oneko-gcc14.patch + * Make it build even with gcc14 + +------------------------------------------------------------------- New: ---- oneko-gcc14.patch BETA DEBUG BEGIN: New: - Add patch oneko-gcc14.patch * Make it build even with gcc14 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oneko.spec ++++++ --- /var/tmp/diff_new_pack.xYMHvt/_old 2024-11-06 16:57:15.481253501 +0100 +++ /var/tmp/diff_new_pack.xYMHvt/_new 2024-11-06 16:57:15.481253501 +0100 @@ -1,7 +1,7 @@ # # spec file for package oneko # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,8 +22,9 @@ Summary: A Cat Catches Your Mouse License: SUSE-Public-Domain Group: Amusements/Toys/Graphics -Url: http://www.daidouji.com/oneko/ -Source: %{URL}/distfiles/oneko-%{version}.tar.gz +URL: https://www.daidouji.com/oneko/ +Source0: %{URL}/distfiles/oneko-%{version}.tar.gz +Patch0: oneko-gcc14.patch BuildRequires: imake BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) @@ -35,8 +36,10 @@ %prep %setup -q -b0 +%patch -P0 -b .p0 %build +%global optflags %{optflags} -fpermissive xmkmf -a make all %{?_smp_mflags} ++++++ oneko-gcc14.patch ++++++ --- oneko.c | 12 ++++++------ oneko.h | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) --- oneko.c +++ oneko.c 2024-11-06 07:49:39.813793979 +0000 @@ -3,7 +3,7 @@ */ #ifndef lint -static char rcsid[] = "$Header: /home/sun/unix/kato/xsam/oneko/oneko.c,v 1.5 90/10/19 21:25:16 kato Exp $"; +static const char rcsid[] = "$Header: /home/sun/unix/kato/xsam/oneko/oneko.c,v 1.5 90/10/19 21:25:16 kato Exp $"; #endif #include "oneko.h" @@ -334,7 +334,7 @@ char *resource; /* * $@%j%=!<%9!&%G!<%?%Y!<%9$+$i%*%W%7%g%s$r@_Dj(J */ - +void GetResources() { char *resource; @@ -433,7 +433,7 @@ GetResources() /* * $@$M$:$_7?%+!<%=%k$r:n$k(J */ - +void MakeMouseCursor() { Pixmap theCursorSource; @@ -462,7 +462,7 @@ MakeMouseCursor() /* * $@?'$r=i4|@_Dj$9$k(J */ - +void SetupColors() { XColor theExactColor; @@ -624,7 +624,7 @@ InitScreen(DisplayName) fprintf(stderr, "Display not suported shape extension.\n"); NoShape = True; } -#endif SHAPE +#endif // SHAPE theScreen = DefaultScreen(theDisplay); theDepth = DefaultDepth(theDisplay, theScreen); @@ -809,7 +809,7 @@ DrawNeko(x, y, DrawAnime) 0, 0, DrawMask, ShapeSet); } -#endif SHAPE +#endif // SHAPE if (DontMapped) { XMapWindow(theDisplay, theWindow); DontMapped = 0; --- oneko.h +++ oneko.h 2024-11-06 07:45:59.765802240 +0000 @@ -20,6 +20,7 @@ #include <math.h> #include <sys/time.h> +#include <unistd.h> /* * $@%+!<%=%k%S%C%H%^%C%W%U%!%$%k$NFI$_9~$_(J