summaryrefslogtreecommitdiff
path: root/games/columns/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-10-28 15:41:32 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-10-28 15:41:32 +0000
commit1d349d2977492c6054001f1e38db2fa01481d71f (patch)
treeaa7aac242afe269256fd7e1a8361ae42badcaf4c /games/columns/files
parentFix Imakefile breakage under XFree86 4.x (diff)
Update to version 1.2b
PR: 22363 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=34362
Diffstat (limited to 'games/columns/files')
-rw-r--r--games/columns/files/patch-ab71
-rw-r--r--games/columns/files/patch-ac10
2 files changed, 16 insertions, 65 deletions
diff --git a/games/columns/files/patch-ab b/games/columns/files/patch-ab
index 3f9d920d3c2b..b8b0f61fd8a2 100644
--- a/games/columns/files/patch-ab
+++ b/games/columns/files/patch-ab
@@ -1,71 +1,12 @@
---- columns.cc Thu Aug 5 15:19:15 1999
-+++ /home/andy/tmp/wrk/columns.cc Thu Aug 26 12:05:16 1999
-@@ -2,7 +2,9 @@
-
+--- columns.cc.orig Fri Mar 17 09:52:55 2000
++++ columns.cc Sat Oct 28 03:29:21 2000
+@@ -22,7 +22,9 @@
+ #include <stdarg.h>
#include <stdio.h>
#include <string.h>
-+#ifndef __FreeBSD__
++#ifndef __STDC__
#include <malloc.h>
+#endif
#include <stdlib.h>
- #include <sys/time.h>
+ #include <time.h>
#include <SDL/SDL.h>
-@@ -924,22 +926,22 @@
- void init_sound ()
- {
- audio_init ();
-- drop_wav = audio_load ("drop.wav");
-- rotate_wav = audio_load ("rotate.wav");
-- move_wav = audio_load ("move.wav");
-- gameover_wav = audio_load ("gameover.wav");
-- hello_wav = audio_load ("hello.wav");
-- perfect_wav = audio_load ("perfect.wav");
-- applause_wav = audio_load ("applause.wav");
-- remove_wav = audio_load ("remove.wav");
-- level_wav = audio_load ("level.wav");
-- bye_wav = audio_load ("bye.wav");
-+ drop_wav = audio_load (PREFIX "/share/columns/drop.wav");
-+ rotate_wav = audio_load (PREFIX "/share/columns/rotate.wav");
-+ move_wav = audio_load (PREFIX "/share/columns/move.wav");
-+ gameover_wav = audio_load (PREFIX "/share/columns/gameover.wav");
-+ hello_wav = audio_load (PREFIX "/share/columns/hello.wav");
-+ perfect_wav = audio_load (PREFIX "/share/columns/perfect.wav");
-+ applause_wav = audio_load (PREFIX "/share/columns/applause.wav");
-+ remove_wav = audio_load (PREFIX "/share/columns/remove.wav");
-+ level_wav = audio_load (PREFIX "/share/columns/level.wav");
-+ bye_wav = audio_load (PREFIX "/share/columns/bye.wav");
- }
-
- /* load bitmaps */
- void init_gfx ()
- {
-- SDL_Surface *img = SDL_LoadBMP ("tiles.bmp");
-+ SDL_Surface *img = SDL_LoadBMP (PREFIX "/share/columns/tiles.bmp");
- if (img == NULL) {
- fprintf (stderr, "couldn't load 'tiles.bmp'\n");
- exit (1);
-@@ -950,11 +952,11 @@
- SDL_SetColorKey (tiles, SDL_SRCCOLORKEY, 0);
-
- {
-- FILE *fp = fopen("bg.bmp", "rb");
-+ FILE *fp = fopen(PREFIX "/share/columns/bg.bmp", "rb");
- background = NULL;
- if (fp != NULL) {
- fclose (fp);
-- img = SDL_LoadBMP ("bg.bmp");
-+ img = SDL_LoadBMP (PREFIX "/share/columns/bg.bmp");
- if (img == NULL) {
- fprintf (stderr, "couldn't load `bg.bmp': %s\n", SDL_GetError ());
- } else {
-@@ -979,8 +981,8 @@
- void init_fonts ()
- {
- /* Load font data. */
-- small_font = load_font ("small.ofn");
-- big_font = load_font ("big.ofn");
-+ small_font = load_font (PREFIX "/share/columns/small.ofn");
-+ big_font = load_font (PREFIX "/share/columns/big.ofn");
- if (small_font == NULL || big_font == NULL) {
- fprintf (stderr, "couldn't load fonts\n");
- exit (1);
diff --git a/games/columns/files/patch-ac b/games/columns/files/patch-ac
new file mode 100644
index 000000000000..f7623dbe5c97
--- /dev/null
+++ b/games/columns/files/patch-ac
@@ -0,0 +1,10 @@
+--- configure.orig Fri Mar 17 08:33:59 2000
++++ configure Sat Oct 28 03:23:44 2000
+@@ -1292,6 +1292,7 @@
+ rm -f conf.sdltest
+
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
++CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
+ LIBS="$LIBS $SDL_LIBS"
+
+ # Finally create all the generated files