Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37818317
en ru br
ALT Linux repositórios
S:3.4.3-alt1.qa1
5.0: 3.4.3-alt1
4.1: 3.4.3-alt1

Group :: Jogos/Aventura
RPM: nethack

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: nethack-config.patch
Download


--- include/unixconf.h	2003-08-30 02:07:24.000000000 +0200
+++ include/unixconf.h	2003-09-01 15:59:44.000000000 +0200
@@ -32,12 +32,12 @@
 
 
 /* define any of the following that are appropriate */
-#define SVR4		/* use in addition to SYSV for System V Release 4 */
+/* #define SVR4	*/	/* use in addition to SYSV for System V Release 4 */
 			/* including Solaris 2+ */
 #define NETWORK		/* if running on a networked system */
 			/* e.g. Suns sharing a playground through NFS */
 /* #define SUNOS4 */	/* SunOS 4.x */
-/* #define LINUX */	/* Another Unix clone */
+#define LINUX	/* Another Unix clone */
 /* #define CYGWIN32 */	/* Unix on Win32 -- use with case sensitive defines */
 /* #define GENIX */	/* Yet Another Unix Clone */
 /* #define HISX */	/* Bull Unix for XPS Machines */
@@ -102,7 +102,7 @@
  * If you want the static parts of your playground on a read-only file
  * system, define VAR_PLAYGROUND to be where the variable parts are kept.
  */
-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */
+#define VAR_PLAYGROUND "/var/games/nethack"
 
 
 /*
@@ -132,7 +132,7 @@
  * "extra output" method is used, but not all systems provide access to
  * a fine-grained timer.
  */
-/* #define TIMED_DELAY */	/* usleep() */
+#define TIMED_DELAY	/* usleep() */
 #endif
 
 /*
@@ -166,7 +166,7 @@
 
 /* #define NO_MAILREADER */	/* have mail daemon just tell player of mail */
 
-#ifdef	MAIL
+#ifdef MAIL
 # if defined(BSD) || defined(ULTRIX)
 #  ifdef AMS
 #define AMS_MAILBOX	"/Mailbox"
@@ -189,7 +189,8 @@
 #   endif
 #  endif
 # else
-#define DEF_MAILREADER	"/bin/mail"
+/* SuSE mail reader is /usr/bin/mail, not /bin/mail */
+#define DEF_MAILREADER	"/usr/bin/mail"
 # endif
 #endif
 
--- sys/unix/Makefile.top	2003-08-30 02:08:04.000000000 +0200
+++ sys/unix/Makefile.top	2003-09-01 16:01:42.000000000 +0200
@@ -35,8 +35,8 @@
 # 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
 # instructions)
-GAMEDIR  = $(PREFIX)/games/lib/$(GAME)dir
-VARDIR  = $(GAMEDIR)
+GAMEDIR  = /usr/lib/nethack
+VARDIR  = /var/games/nethack
 SHELLDIR = $(PREFIX)/games
 
 # per discussion in Install.X11 and Install.Qt
@@ -48,7 +48,7 @@
 # for BeOS
 # VARDATND = beostiles
 # for Gnome
-# VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm
+VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm
 
 VARDATD = data oracles options quest.dat rumors
 VARDAT = $(VARDATD) $(VARDATND)
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009