diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-10-28 03:02:53 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-10-28 03:02:53 +0000 |
commit | f9d4cf04e012190ea69438b14da054c5dfbff72e (patch) | |
tree | 7b82cdb2f010f73fa84458799fcf2000495c4a8e /games/neverball/files | |
parent | d2bff1e07749c8225fb1481a101c7908e8c477d8 (diff) | |
download | ports-f9d4cf04e012190ea69438b14da054c5dfbff72e.tar.gz ports-f9d4cf04e012190ea69438b14da054c5dfbff72e.zip |
Notes
Diffstat (limited to 'games/neverball/files')
-rw-r--r-- | games/neverball/files/patch-Makefile | 34 | ||||
-rw-r--r-- | games/neverball/files/patch-config.c | 47 |
2 files changed, 81 insertions, 0 deletions
diff --git a/games/neverball/files/patch-Makefile b/games/neverball/files/patch-Makefile new file mode 100644 index 000000000000..e2fd1aea5a8a --- /dev/null +++ b/games/neverball/files/patch-Makefile @@ -0,0 +1,34 @@ +--- Makefile.orig Mon Oct 27 21:35:19 2003 ++++ Makefile Mon Oct 27 21:37:26 2003 +@@ -3,15 +3,15 @@ + + # Maybe you need one of these. Maybe you don't. + +-#X11_PATH= -L/usr/X11/lib +-#X11_PATH= -L/usr/X11R6/lib ++X11_PATHL= -L${X11BASE}/lib ++X11_PATHI= -I${X11BASE}/include + + #------------------------------------------------------------------------------ + +-CFLAGS= -Wall -g -ansi $(shell sdl-config --cflags) ++CFLAGS+= -Wall -g -ansi $(shell ${SDL_CONFIG} --cflags) ${X11_PATHI} + +-X11_LIBS= $(X11_PATH) -lGLU -lGL -lm +-SDL_LIBS= $(shell sdl-config --libs) ++X11_LIBS= $(X11_PATHL) -lGLU -lGL -lm ++SDL_LIBS= $(shell ${SDL_CONFIG} --libs) + + MAPC_TARG= mapc + GAME_TARG= neverball +@@ -39,8 +39,8 @@ + glext.o \ + main.o + +-MAPC_DEPS= $(GAME_SRCS:.c=.d) +-GAME_DEPS= $(GAME_OBJS:.o=.d) ++MAPC_DEPS= $(GAME_SRCS:.c) ++GAME_DEPS= $(GAME_OBJS:.o) + + MAPC_LIBS= $(SDL_LIBS) -lSDL_image $(X11_LIBS) + GAME_LIBS= $(SDL_LIBS) -lSDL_image -lSDL_ttf -lSDL_mixer -lfreetype $(X11_LIBS) diff --git a/games/neverball/files/patch-config.c b/games/neverball/files/patch-config.c new file mode 100644 index 000000000000..8fec347f6386 --- /dev/null +++ b/games/neverball/files/patch-config.c @@ -0,0 +1,47 @@ +--- config.c.orig Mon Oct 27 01:11:10 2003 ++++ config.c Mon Oct 27 01:13:25 2003 +@@ -48,7 +48,7 @@ + static int mouse_sense = CONFIG_DEF_MOUSE_SENSE; + static int high_level = CONFIG_DEF_HIGH_LEVEL; + static int done = CONFIG_DEF_DONE; +-static int nice = CONFIG_DEF_NICE; ++static int nice1 = CONFIG_DEF_NICE; + static int fps = CONFIG_DEF_FPS; + static int joy = CONFIG_DEF_JOY; + static int sound_vol = CONFIG_DEF_SOUND_VOL; +@@ -166,7 +166,7 @@ + if (strcmp(key, "audio_buff") == 0) audio_buff = val; + if (strcmp(key, "mouse_sense") == 0) mouse_sense = val; + if (strcmp(key, "high_level") == 0) high_level = val; +- if (strcmp(key, "nice") == 0) nice = val; ++ if (strcmp(key, "nice") == 0) nice1 = val; + if (strcmp(key, "done") == 0) done = val; + if (strcmp(key, "fps") == 0) fps = val; + if (strcmp(key, "joy") == 0) joy = val; +@@ -210,7 +210,7 @@ + fprintf(fp, "mouse_sense %d\n", mouse_sense); + fprintf(fp, "high_level %d\n", high_level); + fprintf(fp, "player %s\n", player); +- fprintf(fp, "nice %d\n", nice); ++ fprintf(fp, "nice %d\n", nice1); + fprintf(fp, "done %d\n", done); + fprintf(fp, "fps %d\n", fps); + fprintf(fp, "joy %d\n", joy); +@@ -242,7 +242,7 @@ + int config_sens(void) { return mouse_sense; } + int config_high(void) { return high_level; } + int config_done(void) { return done; } +-int config_nice(void) { return nice; } ++int config_nice(void) { return nice1; } + int config_fps (void) { return fps; } + int config_sound(void) { return sound_vol; } + int config_music(void) { return music_vol; } +@@ -368,7 +368,7 @@ + + void config_tog_nice(void) + { +- nice = nice ? 0 : 1; ++ nice1 = nice1 ? 0 : 1; + } + + void config_tog_fps(void) |