File project.diff of Package nethack

--- nethack.changes.orig
+++ nethack.changes
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Jun 30 14:31:35 UTC 2025 - pgajdos@suse.com
+
+- added patches
+  fix build with gcc15
+  + nethack-gcc15.patch
+
+-------------------------------------------------------------------
 Mon Mar 17 16:56:16 UTC 2025 - Thomas Zimmermann <tzimmermann@suse.com>
 
 - Modify nethack-config.patch: Define AUTOPICKUP_EXCEPTIONS to make
--- nethack.spec.orig
+++ nethack.spec
@@ -39,6 +39,8 @@ Patch4:         nethack-secure.patch
 Patch5:         nethack-gzip.patch
 # PATCH-FIX-OPENSUSE nethack-reproducible.patch boo#1047218
 Patch6:         nethack-reproducible.patch
+# fix build with gcc15
+Patch7:         nethack-gcc15.patch
 BuildRequires:  bison
 BuildRequires:  fdupes
 BuildRequires:  flex
@@ -66,6 +68,7 @@ This package contains the text interface
 %patch -P4
 %patch -P5
 %patch -P6 -p1
+%patch -P 7 -p1
 
 %build
 # copy Makefiles and add optimization flags
openSUSE Build Service is sponsored by