Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nethack for openSUSE:Factory checked in at 2025-07-18 15:58:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nethack (Old) and /work/SRC/openSUSE:Factory/.nethack.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nethack" Fri Jul 18 15:58:32 2025 rev:9 rq:1294012 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/nethack/nethack.changes 2025-07-09 17:28:22.103449184 +0200 +++ /work/SRC/openSUSE:Factory/.nethack.new.8875/nethack.changes 2025-07-18 15:59:37.485214344 +0200 @@ -1,0 +2,12 @@ +Wed Jul 16 08:17:14 UTC 2025 - Thomas Zimmermann <tzimmerm...@suse.com> + +- Apply patches with %autosetup. Rpm's %autosetup applies all listed + patches automatically and avoids manual patch specification via + %patch. + +- Patches taken for git commits require -p1 to apply cleanly. Change + the formatting of several existing patches to contain the nethack + build directory, so that all patches apply with -p1. Enables + %autosetup. No functional changes to existing patch. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nethack.spec ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.529257926 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.529257926 +0200 @@ -66,18 +66,7 @@ This package contains the text interface. %prep -%setup -%patch -P0 -%patch -P1 -p1 -%patch -P2 -p1 -%patch -P3 -p1 -%patch -P4 -%patch -P50 -%patch -P51 -%patch -P52 -%patch -P53 -%patch -P54 -%patch -P55 -p1 +%autosetup -p1 %build # copy Makefiles and add optimization flags ++++++ nethack-config.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.565259429 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.569259596 +0200 @@ -1,7 +1,7 @@ -Index: include/unixconf.h +Index: nethack-3.4.3/include/unixconf.h =================================================================== ---- include/unixconf.h.orig -+++ include/unixconf.h +--- nethack-3.4.3.orig/include/unixconf.h ++++ nethack-3.4.3/include/unixconf.h @@ -32,12 +32,12 @@ @@ -54,10 +54,10 @@ # endif #endif -Index: sys/unix/Makefile.top +Index: nethack-3.4.3/sys/unix/Makefile.top =================================================================== ---- sys/unix/Makefile.top.orig -+++ sys/unix/Makefile.top +--- nethack-3.4.3.orig/sys/unix/Makefile.top ++++ nethack-3.4.3/sys/unix/Makefile.top @@ -35,8 +35,8 @@ DIRPERM = 0755 # therefore there should not be anything in GAMEDIR that you want to keep # (if there is, you'll have to do the installation by hand or modify the @@ -69,10 +69,10 @@ SHELLDIR = $(PREFIX)/games # per discussion in Install.X11 and Install.Qt -Index: include/config.h +Index: nethack-3.4.3/include/config.h =================================================================== ---- include/config.h.orig -+++ include/config.h +--- nethack-3.4.3.orig/include/config.h ++++ nethack-3.4.3/include/config.h @@ -143,10 +143,10 @@ #ifndef WIZARD /* allow for compile-time or Makefile changes */ @@ -122,10 +122,10 @@ /* End of Section 5 */ -Index: sys/unix/Makefile.doc +Index: nethack-3.4.3/sys/unix/Makefile.doc =================================================================== ---- sys/unix/Makefile.doc.orig -+++ sys/unix/Makefile.doc +--- nethack-3.4.3.orig/sys/unix/Makefile.doc ++++ nethack-3.4.3/sys/unix/Makefile.doc @@ -4,8 +4,8 @@ # for Atari # SHELL=E:/GEMINI2/MUPFEL.TTP @@ -137,10 +137,10 @@ #GUIDEBOOK = Guidebook.dvi # TeX device-independent file # Some versions of col need -x to keep them from converting spaces to tabs; -Index: sys/unix/Makefile.src +Index: nethack-3.4.3/sys/unix/Makefile.src =================================================================== ---- sys/unix/Makefile.src.orig -+++ sys/unix/Makefile.src +--- nethack-3.4.3.orig/sys/unix/Makefile.src ++++ nethack-3.4.3/sys/unix/Makefile.src @@ -126,6 +126,8 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o un # compile normally # CFLAGS = -O2 -fomit-frame-pointer -I../include -Wno-old-style-definition -Wno-unused-result -Wno-format-overflow @@ -172,10 +172,10 @@ # # libraries for X11 # If USE_XPM is defined in config.h, you will also need -lXpm here. -Index: sys/unix/nethack.sh +Index: nethack-3.4.3/sys/unix/nethack.sh =================================================================== ---- sys/unix/nethack.sh.orig -+++ sys/unix/nethack.sh +--- nethack-3.4.3.orig/sys/unix/nethack.sh ++++ nethack-3.4.3/sys/unix/nethack.sh @@ -1,9 +1,9 @@ #!/bin/sh # SCCS Id: @(#)nethack.sh 3.4 1990/02/26 @@ -188,10 +188,10 @@ MAXNROFPLAYERS=4 # Since Nethack.ad is installed in HACKDIR, add it to XUSERFILESEARCHPATH -Index: doc/nethack.6 +Index: nethack-3.4.3/doc/nethack.6 =================================================================== ---- doc/nethack.6.orig -+++ doc/nethack.6 +--- nethack-3.4.3.orig/doc/nethack.6 ++++ nethack-3.4.3/doc/nethack.6 @@ -197,7 +197,7 @@ option, which must be the first argument supplies a directory which is to serve as the playground. It overrides the value from NETHACKDIR, HACKDIR, ++++++ nethack-decl.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.581260097 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.585260264 +0200 @@ -1,7 +1,7 @@ -Index: include/system.h +Index: nethack-3.4.3/include/system.h =================================================================== ---- include/system.h.orig -+++ include/system.h +--- nethack-3.4.3.orig/include/system.h ++++ nethack-3.4.3/include/system.h @@ -100,7 +100,9 @@ E void srand48(); #if !defined(BSD) || defined(ultrix) /* real BSD wants all these to return int */ ++++++ nethack-escape-char.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.601260932 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.605261099 +0200 @@ -1,7 +1,7 @@ -Index: src/cmd.c +Index: nethack-3.4.3/src/cmd.c =================================================================== ---- src/cmd.c.orig -+++ src/cmd.c +--- nethack-3.4.3.orig/src/cmd.c ++++ nethack-3.4.3/src/cmd.c @@ -2443,6 +2443,16 @@ readchar() readchar_queue = click_to_cmd(x, y, mod); sym = *readchar_queue++; ++++++ nethack-escapes-revamp.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.617261599 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.621261767 +0200 @@ -12,10 +12,10 @@ src/options.c | 82 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 34 deletions(-) -Index: src/options.c +Index: nethack-3.4.3/src/options.c =================================================================== ---- src/options.c.orig -+++ src/options.c +--- nethack-3.4.3.orig/src/options.c ++++ nethack-3.4.3/src/options.c @@ -633,32 +633,45 @@ escapes(cp, tp) const char *cp; char *tp; ++++++ nethack-gcc15-1.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.629262100 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.633262267 +0200 @@ -1,7 +1,7 @@ -Index: include/system.h +Index: nethack-3.4.3/include/system.h =================================================================== ---- include/system.h.orig -+++ include/system.h +--- nethack-3.4.3.orig/include/system.h ++++ nethack-3.4.3/include/system.h @@ -57,7 +57,11 @@ typedef long off_t; #endif #ifndef SIG_RET_TYPE @@ -54,10 +54,10 @@ # endif E int FDECL(tgetnum, (const char *)); E int FDECL(tgetflag, (const char *)); -Index: sys/unix/Makefile.src +Index: nethack-3.4.3/sys/unix/Makefile.src =================================================================== ---- sys/unix/Makefile.src.orig -+++ sys/unix/Makefile.src +--- nethack-3.4.3.orig/sys/unix/Makefile.src ++++ nethack-3.4.3/sys/unix/Makefile.src @@ -124,7 +124,7 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o un # flags for Linux ++++++ nethack-gzip.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.657263269 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.661263436 +0200 @@ -1,7 +1,7 @@ -Index: include/config.h +Index: nethack-3.4.3/include/config.h =================================================================== ---- include/config.h.orig -+++ include/config.h +--- nethack-3.4.3.orig/include/config.h ++++ nethack-3.4.3/include/config.h @@ -169,11 +169,11 @@ #ifdef UNIX ++++++ nethack-secure.patch ++++++ --- /var/tmp/diff_new_pack.PciZXZ/_old 2025-07-18 15:59:38.685264438 +0200 +++ /var/tmp/diff_new_pack.PciZXZ/_new 2025-07-18 15:59:38.689264605 +0200 @@ -1,7 +1,7 @@ -Index: util/recover.c +Index: nethack-3.4.3/util/recover.c =================================================================== ---- util/recover.c.orig -+++ util/recover.c +--- nethack-3.4.3.orig/util/recover.c ++++ nethack-3.4.3/util/recover.c @@ -16,6 +16,12 @@ #include "win32api.h" #endif