summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 04:59:58 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 04:59:58 +0000
commit12c9973915d478c72a31e83a2dcd74a9d85f9329 (patch)
treed37cf05165786ebbb579f87068d6e4ac5c678a32 /games-roguelike/falconseye/files
parentrepoman: fix leading whitespace (diff)
downloadgentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.tar.gz
gentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.tar.bz2
gentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.zip
hello rogues
Diffstat (limited to 'games-roguelike/falconseye/files')
-rw-r--r--games-roguelike/falconseye/files/1.9.3-gzip.diff19
-rw-r--r--games-roguelike/falconseye/files/1.9.3-midiplayer.diff12
-rw-r--r--games-roguelike/falconseye/files/1.9.3-musicsavefix.diff58
-rw-r--r--games-roguelike/falconseye/files/digest-falconseye-1.9.3-r11
4 files changed, 90 insertions, 0 deletions
diff --git a/games-roguelike/falconseye/files/1.9.3-gzip.diff b/games-roguelike/falconseye/files/1.9.3-gzip.diff
new file mode 100644
index 000000000000..ad60c987677d
--- /dev/null
+++ b/games-roguelike/falconseye/files/1.9.3-gzip.diff
@@ -0,0 +1,19 @@
+diff -Naur falconseye-1.9.3/include/config.h falconseye-1.9.3/include/config.h
+--- falconseye-1.9.3/include/config.h 2001-07-03 19:56:52.000000000 -0400
++++ falconseye-1.9.3/include/config.h 2002-07-01 22:00:21.000000000 -0400
+@@ -187,11 +187,11 @@
+
+ #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 "/bin/gzip" /* FSF gzip compression */
++#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
+ #endif
+
+ #ifndef COMPRESS
diff --git a/games-roguelike/falconseye/files/1.9.3-midiplayer.diff b/games-roguelike/falconseye/files/1.9.3-midiplayer.diff
new file mode 100644
index 000000000000..ddba88cd62e8
--- /dev/null
+++ b/games-roguelike/falconseye/files/1.9.3-midiplayer.diff
@@ -0,0 +1,12 @@
+diff -Naur falconseye-1.9.3/win/jtp/gamedata/config/jtp_opts.txt falconseye-1.9.3/win/jtp/gamedata/config/jtp_opts.txt
+--- falconseye-1.9.3/win/jtp/gamedata/config/jtp_opts.txt 2001-06-24 19:57:26.000000000 -0400
++++ falconseye-1.9.3/win/jtp/gamedata/config/jtp_opts.txt 2002-07-01 22:00:19.000000000 -0400
+@@ -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 -A 30 %s
+ %linux_midi_player=/usr/bin/playmidi %s
+
+
diff --git a/games-roguelike/falconseye/files/1.9.3-musicsavefix.diff b/games-roguelike/falconseye/files/1.9.3-musicsavefix.diff
new file mode 100644
index 000000000000..217a99b96682
--- /dev/null
+++ b/games-roguelike/falconseye/files/1.9.3-musicsavefix.diff
@@ -0,0 +1,58 @@
+diff -Naur falconseye-1.9.3/win/jtp/jtp_sdl.c falconseye-1.9.3.over/win/jtp/jtp_sdl.c
+--- falconseye-1.9.3/win/jtp/jtp_sdl.c 2001-07-02 08:05:50.000000000 -0400
++++ falconseye-1.9.3.over/win/jtp/jtp_sdl.c 2002-07-01 22:00:19.000000000 -0400
+@@ -131,6 +131,7 @@
+ {
+ if (jtp_sdl_music_player_pid > 0)
+ kill(jtp_sdl_music_player_pid, SIGKILL);
++ waitpid(jtp_sdl_music_player_pid, NULL, 0);
+ jtp_sdl_music_player_pid = -1;
+ }
+ }
+@@ -579,28 +580,32 @@
+ jtp_sdl_audio_wanted.userdata = NULL;
+
+ /* Open the audio device, forcing the desired format */
++ /* Make it so if opening audio device fails, just don't play audio. - Jonathan Hseu */
+ if ( SDL_OpenAudio(&jtp_sdl_audio_wanted, NULL) < 0 )
+ {
+ jtp_SDLWriteLogMessage(JTP_SDL_LOG_ERROR, "[jtp_sdl.c/jtp_SDLEnterGraphicMode/Check1] ERROR: Could not initialize SDL audio device\n");
+ jtp_SDLWriteLogMessage(JTP_SDL_LOG_ERROR, "[SDL Error] ");
+ jtp_SDLWriteLogMessage(JTP_SDL_LOG_ERROR, SDL_GetError());
+ jtp_SDLWriteLogMessage(JTP_SDL_LOG_ERROR, "\n");
+- exit(1);
+- }
+- jtp_sdl_audio_chunk = (Uint8 *)malloc(JTP_SDL_SOUND_BUFFER_SIZE*sizeof(Uint8));
+- jtp_sdl_audio_len = 30000;
+- jtp_sdl_audio_pos = NULL;
+-
+- /* Create the sound cache */
+- jtp_sdl_cached_sounds = (jtp_sdl_cached_sound *)malloc(JTP_SDL_MAX_CACHED_SOUNDS*sizeof(jtp_sdl_cached_sound));
+- for (i = 0; i < JTP_SDL_MAX_CACHED_SOUNDS; i++)
+- {
+- jtp_sdl_cached_sounds[i].length = 0;
+- jtp_sdl_cached_sounds[i].samples = NULL;
+- jtp_sdl_cached_sounds[i].filename = NULL;
++ jtp_play_effects = 0;
++// exit(1);
+ }
+-
++ else
++ {
++ jtp_sdl_audio_chunk = (Uint8 *)malloc(JTP_SDL_SOUND_BUFFER_SIZE*sizeof(Uint8));
++ jtp_sdl_audio_len = 30000;
++ jtp_sdl_audio_pos = NULL;
++
++ /* Create the sound cache */
++ jtp_sdl_cached_sounds = (jtp_sdl_cached_sound *)malloc(JTP_SDL_MAX_CACHED_SOUNDS*sizeof(jtp_sdl_cached_sound));
++ for (i = 0; i < JTP_SDL_MAX_CACHED_SOUNDS; i++)
++ {
++ jtp_sdl_cached_sounds[i].length = 0;
++ jtp_sdl_cached_sounds[i].samples = NULL;
++ jtp_sdl_cached_sounds[i].filename = NULL;
++ }
+ /* SDL_PauseAudio(0); */ /* Start playing sounds */
++ }
+ }
+
+ if (jtp_play_music)
diff --git a/games-roguelike/falconseye/files/digest-falconseye-1.9.3-r1 b/games-roguelike/falconseye/files/digest-falconseye-1.9.3-r1
new file mode 100644
index 000000000000..e2ee4abe25e7
--- /dev/null
+++ b/games-roguelike/falconseye/files/digest-falconseye-1.9.3-r1
@@ -0,0 +1 @@
+MD5 764f31f32d4ee39ba809f672a86c08ae nethack_source_331_jtp_193.zip 8405675