Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
vultures
suse-nethack-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-nethack-config.patch of Package vultures
diff -Naur vulture-2.3.67/nethack/include/config.h vulture-2.3.67-new//nethack/include/config.h --- vulture-2.3.67/nethack/include/config.h 2011-04-04 20:23:52.000000000 +0200 +++ vulture-2.3.67-new//nethack/include/config.h 2011-04-10 23:08:47.941321580 +0200 @@ -182,8 +182,8 @@ /* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ /* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ /* An example of one alternative you might want to use: */ -/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ -/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ +#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ +#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ #endif #ifndef COMPRESS @@ -214,7 +214,7 @@ * otherwise it will be the current directory. */ # ifndef HACKDIR -# define HACKDIR "/usr/games/lib/nethackdir" +# define HACKDIR "/usr/share/vulture-nethack" # endif /* diff -Naur vulture-2.3.67/nethack/include/unixconf.h vulture-2.3.67-new//nethack/include/unixconf.h --- vulture-2.3.67/nethack/include/unixconf.h 2011-04-04 20:23:52.000000000 +0200 +++ vulture-2.3.67-new//nethack/include/unixconf.h 2011-04-10 23:08:47.941321580 +0200 @@ -96,13 +96,13 @@ */ /* #define NO_FILE_LINKS */ /* if no hard links */ -/* #define LOCKDIR "/usr/games/lib/nethackdir" */ /* where to put locks */ +#define LOCKDIR "/var/games/vulture-nethack" /* where to put locks */ /* * 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/vulture-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 /* @@ -189,7 +189,7 @@ # endif # endif # else -#define DEF_MAILREADER "/bin/mail" +#define DEF_MAILREADER "/usr/bin/mail" # endif #endif diff -Naur vulture-2.3.67/nethack/sys/unix/Makefile.top vulture-2.3.67-new//nethack/sys/unix/Makefile.top --- vulture-2.3.67/nethack/sys/unix/Makefile.top 2011-04-04 20:23:52.000000000 +0200 +++ vulture-2.3.67-new//nethack/sys/unix/Makefile.top 2011-04-10 23:08:47.948321580 +0200 @@ -35,9 +35,9 @@ # 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) -SHELLDIR = $(PREFIX)/games +GAMEDIR = $(PREFIX)/share/$(GAME) +VARDIR = /var/games/$(GAME) +SHELLDIR = $(PREFIX)/bin # per discussion in Install.X11 and Install.Qt VARDATND = diff -Naur vulture-2.3.67/slashem/include/config.h vulture-2.3.67-new//slashem/include/config.h --- vulture-2.3.67/slashem/include/config.h 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//slashem/include/config.h 2011-04-10 23:09:24.397321580 +0200 @@ -237,12 +237,12 @@ #ifdef UNIX /* path and file name extension for compression program */ -# define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ -# define COMPRESS_EXTENSION ".Z" /* compress's extension */ +/* # define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ +/* # define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ /* An example of one alternative you might want to use: */ -/* # define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ -/* # define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ +# define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ +# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ /* # define COMPRESS "/usr/bin/bzip2" *//* bzip2 compression */ /* # define COMPRESS_EXTENSION ".bz2" *//* bzip2 extension */ @@ -278,7 +278,7 @@ # ifdef __APPLE__ # define HACKDIR "nethackdir" /* nethack directory */ # else -# define HACKDIR "." +# define HACKDIR "/usr/share/vulture-slashem" # endif # endif diff -Naur vulture-2.3.67/slashem/include/unixconf.h vulture-2.3.67-new//slashem/include/unixconf.h --- vulture-2.3.67/slashem/include/unixconf.h 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//slashem/include/unixconf.h 2011-04-10 23:08:47.950321580 +0200 @@ -133,11 +133,11 @@ * File areas compatible with FHS 2.0 */ -#define FILE_AREA_VAR "/var/games/slashem/" -#define FILE_AREA_SAVE "/var/games/slashem/save/" -#define FILE_AREA_SHARE "/usr/share/games/slashem/" -#define FILE_AREA_UNSHARE "/usr/lib/games/slashem/" -#define FILE_AREA_DOC "/usr/share/doc/slashem/" +#define FILE_AREA_VAR "/var/games/vulture-slashem/" +#define FILE_AREA_SAVE "/var/games/vulture-slashem/save/" +#define FILE_AREA_SHARE "/usr/share/vulture-slashem/" +#define FILE_AREA_UNSHARE "/usr/share/vulture-slashem/" +#define FILE_AREA_DOC "/usr/share/doc/vulture-slashem/" #define FILE_AREA_BONES FILE_AREA_VAR #define FILE_AREA_LEVL FILE_AREA_VAR @@ -158,7 +158,7 @@ # ifdef FILE_AREAS # define LOCKDIR FILE_AREA_VAR /* where to put locks */ # else -# define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ +#define LOCKDIR "/var/games/vulture-slashem" /* where to put locks */ # endif #endif @@ -175,6 +175,7 @@ * system, define VAR_PLAYGROUND to be where the variable parts are kept. */ /* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ +#define VAR_PLAYGROUND "/var/games/vulture-slashem" @@ -195,7 +196,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() */ # ifdef TEXTCOLOR # define VIDEOSHADES @@ -256,7 +257,7 @@ # endif # endif # else -#define DEF_MAILREADER "/bin/mail" +#define DEF_MAILREADER "/usr/bin/mail" # endif #endif diff -Naur vulture-2.3.67/slashem/sys/unix/Makefile.top vulture-2.3.67-new//slashem/sys/unix/Makefile.top --- vulture-2.3.67/slashem/sys/unix/Makefile.top 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//slashem/sys/unix/Makefile.top 2011-04-10 23:08:47.951321580 +0200 @@ -40,8 +40,8 @@ # These must agree with the definitions in unixconf.h # Defs. for non file areas support. -GAMEDIR = $(PREFIX)/local/slashemdir -VARDIR = $(GAMEDIR) +GAMEDIR = $(PREFIX)/share/$(GAME) +VARDIR = /var/games/$(GAME) FILE_AREA_VAR = $(VARDIR) FILE_AREA_SAVE = $(VARDIR)/save FILE_AREA_SHARE = $(GAMEDIR) @@ -49,7 +49,7 @@ FILE_AREA_DOC = $(GAMEDIR) FILE_AREA_BONES = $(FILE_AREA_VAR) FILE_AREA_LEVL = $(FILE_AREA_VAR) -SHELLDIR = $(PREFIX)/local/bin +SHELLDIR = $(PREFIX)/bin # Defs. compatible with Linux's FSSTND 1.2 # FILE_AREA_VAR = /var/lib/games/slashem diff -Naur vulture-2.3.67/unnethack/include/config.h vulture-2.3.67-new//unnethack/include/config.h --- vulture-2.3.67/unnethack/include/config.h 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//unnethack/include/config.h 2011-04-10 23:08:47.951321580 +0200 @@ -198,7 +198,7 @@ /* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ /* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ /* An example of one alternative you might want to use: */ -#define COMPRESS "/bin/gzip" /* FSF gzip compression */ +#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ #define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ #endif @@ -231,7 +231,7 @@ * otherwise it will be the current directory. */ # ifndef HACKDIR -# define HACKDIR "/usr/games/lib/unnethackdir" +# define HACKDIR "/usr/share/vulture-unnethack" # endif /* diff -Naur vulture-2.3.67/unnethack/include/unixconf.h vulture-2.3.67-new//unnethack/include/unixconf.h --- vulture-2.3.67/unnethack/include/unixconf.h 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//unnethack/include/unixconf.h 2011-04-10 23:08:47.952321580 +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 */ @@ -96,13 +96,13 @@ */ /* #define NO_FILE_LINKS */ /* if no hard links */ -/* #define LOCKDIR "/usr/games/lib/nethackdir" */ /* where to put locks */ +#define LOCKDIR "/var/games/vulture-unnethack"/ /* where to put locks */ /* * 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/vulture-unnethack" /* @@ -133,7 +133,7 @@ * a fine-grained timer. */ #ifndef AUTOCONF -/* #define TIMED_DELAY */ /* usleep() */ +#define TIMED_DELAY /* usleep() */ #endif #endif @@ -191,7 +191,7 @@ # endif # endif # else -#define DEF_MAILREADER "/bin/mail" +#define DEF_MAILREADER "/usr/bin/mail" # endif #endif diff -Naur vulture-2.3.67/unnethack/sys/unix/Makefile.top vulture-2.3.67-new//unnethack/sys/unix/Makefile.top --- vulture-2.3.67/unnethack/sys/unix/Makefile.top 2011-04-04 20:23:53.000000000 +0200 +++ vulture-2.3.67-new//unnethack/sys/unix/Makefile.top 2011-04-10 23:08:47.953321580 +0200 @@ -35,9 +35,9 @@ # 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) -SHELLDIR = $(PREFIX)/games +GAMEDIR = $(PREFIX)/share/$(GAME) +VARDIR = /var/games/$(GAME) +SHELLDIR = $(PREFIX)/bin # per discussion in Install.X11 and Install.Qt VARDATND =
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor