Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
falconseye
falconseye-1.9.3.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File falconseye-1.9.3.diff of Package falconseye
--- include/config.h +++ include/config.h @@ -187,11 +187,15 @@ #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 */ +/* suse does not use the default as it doesn't ship compress. */ +/* #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 */ +/* use gzip compression: */ +#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ +#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ #endif #ifndef COMPRESS @@ -222,7 +226,7 @@ * otherwise it will be the current directory. */ # ifndef HACKDIR -# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */ +# define HACKDIR "/usr/share/games/falconseye" /* nethack directory */ # endif /* --- sys/unix/Makefile.doc +++ sys/unix/Makefile.doc @@ -33,7 +33,7 @@ latex Guidebook.tex -GAME = nethack +GAME = falconseye MANDIR = /usr/man/man6 MANEXT = 6 --- sys/unix/Makefile.src +++ sys/unix/Makefile.src @@ -294,7 +294,7 @@ LIBS = # make NetHack -GAME = nethack +GAME = falconseye # GAME = nethack.prg # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come --- sys/unix/Makefile.top +++ sys/unix/Makefile.top @@ -14,9 +14,9 @@ # MAKE = make # make NetHack -#PREFIX = /usr -PREFIX = $(shell pwd)/compiled -GAME = nethack +PREFIX = /usr +#PREFIX = $(shell pwd)/compiled +GAME = falconseye # GAME = nethack.prg GAMEUID = games GAMEGRP = bin @@ -36,9 +36,10 @@ # 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 +PUREGAMEDIR = /usr/share/games/$(GAME) +GAMEDIR = $(DESTDIR)$(PUREGAMEDIR) VARDIR = $(GAMEDIR) -SHELLDIR = $(PREFIX)/games +SHELLDIR = $(DESTDIR)$(PREFIX)/games # per discussion in Install.X11 and Install.Qt VARDATND = @@ -201,7 +202,7 @@ $(MAKE) dofiles-jtp cp src/$(GAME) $(GAMEDIR) -rm -f $(SHELLDIR)/$(GAME) - sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \ + sed -e 's;/usr/games/lib/nethackdir;$(PUREGAMEDIR);' \ -e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \ < sys/unix/nethack.sh \ > $(SHELLDIR)/$(GAME) --- sys/unix/Makefile.utl +++ sys/unix/Makefile.utl @@ -89,7 +89,7 @@ # flags for debugging: # CFLAGS = -g -I../include -CFLAGS = -O -I../include +CFLAGS = $(RPM_OPT_FLAGS) -DTIMED_DELAY -I../include LFLAGS = LIBS = --- win/jtp/gamedata/config/jtp_opts.txt +++ win/jtp/gamedata/config/jtp_opts.txt @@ -49,7 +49,7 @@ % files. You can also give your own command; use %s in place of the % filename. Please give the full path to the player binary. % -linux_midi_player=/usr/local/bin/timidity -idqq %s +linux_midi_player=/usr/bin/timidity -idqq %s %linux_midi_player=/usr/bin/playmidi %s --- win/jtp/jtp_win.c +++ win/jtp/jtp_win.c @@ -1559,6 +1559,8 @@ return(hotspot); } +struct permonst * jtp_do_lookat(int x, int y, char *buf, char *monbuf); + char * jtp_map_square_description ( int tgt_x, int tgt_y, @@ -6396,6 +6398,7 @@ default: return(0); break; } + return 0; } --- win/jtp/winjtp.c +++ win/jtp/winjtp.c @@ -602,6 +602,7 @@ } } } + return 0; } /* High level routines */ @@ -1574,6 +1575,7 @@ const char *mesg; { genl_message_menu(let, how, mesg); + return 0; } void
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