nethack: update patches

This commit is contained in:
Henrik Grimler 2020-10-11 15:28:55 +02:00
parent 3adeffd2c2
commit 69528fd96a
2 changed files with 9 additions and 11 deletions

View File

@ -1,6 +1,6 @@
--- ../cache/nethack-3.6.1/sys/unix/Makefile.src 2018-04-27 12:07:22.000000000 +0000
+++ ./sys/unix/Makefile.src 2018-07-13 00:19:45.994451653 +0000
@@ -623,7 +623,7 @@
--- ./sys/unix/Makefile.src.orig 2020-03-08 18:29:31.000000000 +0100
+++ ./sys/unix/Makefile.src 2020-10-11 13:27:02.142596777 +0200
@@ -670,7 +670,7 @@
# up to date before being executed
../include/date.h: $(VERSOURCES) $(HACK_H)
-$(SHELL) ../sys/unix/gitinfo.sh $(GITINFO) #before 'makedefs -v'

View File

@ -1,6 +1,7 @@
--- ../sys-unix-hints-linux.orig 2020-10-11 13:09:50.913507190 +0200
+++ ./sys/unix/hints/linux 2020-10-11 13:10:55.881507143 +0200
@@ -10,11 +10,11 @@
--- ../NetHack-NetHack-3.6.6_Released/sys/unix/hints/linux 2020-03-08 18:29:31.000000000 +0100
+++ ./sys/unix/hints/linux 2020-10-11 15:24:45.859200937 +0200
@@ -9,20 +9,20 @@
# for Ubuntu dapper.
-#PREFIX=/usr
@ -12,18 +13,15 @@
-INSTDIR=$(HACKDIR)
-VARDIR = $(HACKDIR)
+SHELLDIR = $(DESTDIR)$(PREFIX)/games
+INSTDIR=$(DESTDIR)$(HACKDIR)
+INSTDIR = $(DESTDIR)$(HACKDIR)
+VARDIR = $(DESTDIR)$(HACKDIR)
@@ -20,9 +20,9 @@
POSTINSTALL=cp -n sys/unix/sysconf $(INSTDIR)/sysconf; $(CHOWN) $(GAMEUID) $(INSTDIR)/sysconf; $(CHGRP) $(GAMEGRP) $(INSTDIR)/sysconf; chmod $(VARFILEPERM) $(INSTDIR)/sysconf;
-CFLAGS=-g -O -I../include -DNOTPARMDECL
+CFLAGS+=-g -I../include -DNOTPARMDECL
+CFLAGS+= -I../include -DNOTPARMDECL
CFLAGS+=-DDLB
-CFLAGS+=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
+CFLAGS+=-DCOMPRESS=\"@TERMUX_PREFIX@/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"