summaryrefslogtreecommitdiff
path: root/games/spaceracer/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/spaceracer/patches')
-rw-r--r--games/spaceracer/patches/patch-acinclude22
-rw-r--r--games/spaceracer/patches/patch-configurein121
-rw-r--r--games/spaceracer/patches/patch-loopercpp15
-rw-r--r--games/spaceracer/patches/patch-soundcpp15
4 files changed, 173 insertions, 0 deletions
diff --git a/games/spaceracer/patches/patch-acinclude b/games/spaceracer/patches/patch-acinclude
new file mode 100644
index 00000000000..48440110668
--- /dev/null
+++ b/games/spaceracer/patches/patch-acinclude
@@ -0,0 +1,22 @@
+$NetBSD: patch-acinclude,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
+
+Added the necessary quoting for m4 macros.
+
+--- acinclude.m4.orig 2001-07-15 23:25:20.000000000 +0200
++++ acinclude.m4 2006-03-09 14:44:04.000000000 +0100
+@@ -191,11 +191,11 @@ AC_ARG_ENABLE(smpegtest, [ --disable-sm
+ , enable_smpegtest=yes)
+ AC_CHECK_LIB(smpeg,
+ SMPEG_new,
+- AC_CHECK_HEADER(smpeg/smpeg.h,
++ [AC_CHECK_HEADER(smpeg/smpeg.h,
+ SMPEG_LIBS="-lsmpeg",
+- AC_MSG_WARN(header of smpeg not found))
+- SMPEG_LIBS="-lsmpeg",
+- AC_MSG_ERROR(libsmpeg not found),
++ [AC_MSG_WARN(header of smpeg not found)])
++ SMPEG_LIBS="-lsmpeg"],
++ [AC_MSG_ERROR(libsmpeg not found)],
+ $SPMEG_FLAGS)
+ AC_SUBST(SMPEG_CFLAGS)
+ AC_SUBST(SMPEG_LIBS)
diff --git a/games/spaceracer/patches/patch-configurein b/games/spaceracer/patches/patch-configurein
new file mode 100644
index 00000000000..ccbfff46976
--- /dev/null
+++ b/games/spaceracer/patches/patch-configurein
@@ -0,0 +1,121 @@
+$NetBSD: patch-configurein,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
+
+Added the necessary quoting for m4 macros.
+
+--- configure.in.orig 2001-07-15 23:25:20.000000000 +0200
++++ configure.in 2006-03-09 14:54:16.000000000 +0100
+@@ -103,15 +103,6 @@ CXXFLAGS="$CFLAGS"
+
+
+
+-dnl ==========================================
+-dnl Doit-t\'on afficher les info de debug ?
+-dnl ==========================================
+-AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
+- debug_default=no
+- profile_default=no
+- profile_debug=no
+-AC_DIVERT_POP()dnl
+-
+ AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default)
+ AC_ARG_ENABLE(debug, [ --enable-profile=[no/yes] turn on profiling [default=$profile_default]],,profile_debug=$profile_default)
+
+@@ -151,23 +142,6 @@ if eval "test x$enable_spaceracerdir !=
+ fi
+ fi)
+
+-
+-
+-
+-
+-
+-dnl si c\'est Gcc, on rajoute l\'option -Wall que si il n\'y si trouve pas déjà
+-changequote(,)dnl
+-if test "x$GCC" = "xyes"; then
+- case " $CXXFLAGS " in
+- *[\ \ ]-Wall[\ \ ]*) ;;
+- *) CXXFLAGS="$CXXFLAGS -Wall" ;;
+- esac
+-fi
+-changequote([,])dnl
+-
+-
+-
+ dnl ======================================
+ dnl Détection des headers standart
+ dnl ======================================
+@@ -180,26 +154,26 @@ dnl ====================================
+
+ AC_CHECK_LIB(jpeg,
+ jpeg_start_decompress,
+- AC_CHECK_HEADERS(jpeglib.h,
++ [AC_CHECK_HEADERS(jpeglib.h,
+ JPEGLIB="-ljpeg",
+- AC_MSG_WARN(jpeg header not found)),
++ AC_MSG_WARN(jpeg header not found))],
+ ,
+ -lm)
+
+ AC_CHECK_LIB(z,
+ gzopen,
+- AC_CHECK_HEADERS(zlib.h,
++ [AC_CHECK_HEADERS(zlib.h,
+ ZLIB="-lz",
+- AC_MSG_WARN(zlib header not found)),
++ AC_MSG_WARN(zlib header not found))],
+ ,
+ -lm)
+ if test "$ac_cv_header_zlib_h" = "yes"
+ then
+ AC_CHECK_LIB(png,
+ png_get_IHDR,
+- AC_CHECK_HEADERS(png.h,
++ [AC_CHECK_HEADERS(png.h,
+ PNGLIB="-lpng $ZLIB",
+- AC_MSG_WARN(png header not found)),
++ AC_MSG_WARN(png header not found))],
+ ,
+ $ZLIB -lm)
+ fi
+@@ -223,31 +197,31 @@ XLIBS="$X_EXTRA_LIBS -lX11"
+
+ AC_CHECK_LIB(Xext,
+ XShmQueryExtension,
+- AC_CHECK_HEADERS(X11/extensions/XShm.h,
++ [AC_CHECK_HEADERS(X11/extensions/XShm.h,
+ XLIBS="-lXext $XLIBS",
+- AC_MSG_WARN(libXext Not found)),
++ AC_MSG_WARN(libXext Not found))],
+ ,
+ $XLFLAGS $X_PRE_LIBS $XLIBS)
+
+ AC_CHECK_LIB(Xmu,
+ XmuLookupStandardColormap,
+- AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
++ [AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
+ XLIBS="-lXmu $XLIBS",
+- AC_MSG_WARN(libXmu Not found)),
+- AC_CHECK_LIB(Xmu,
++ AC_MSG_WARN(libXmu Not found))],
++ [AC_CHECK_LIB(Xmu,
+ XmuUpdateMapHints,
+- AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
++ [AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
+ XLIBS="-lXmu -lXt $XLIBS",
+- AC_MSG_WARN(XMU library not found)),
++ AC_MSG_WARN(XMU library not found))],
+ AC_MSG_WARN(XMU library not found),
+- $XLFLAGS $X_PRE_LIBS -lXt $XLIBS),
++ $XLFLAGS $X_PRE_LIBS -lXt $XLIBS)],
+ $XLFLAGS $X_PRE_LIBS $XLIBS)
+
+ AC_CHECK_LIB(Xi,
+ XGetExtensionVersion,
+- AC_CHECK_HEADERS(X11/extensions/XI.h,
++ [AC_CHECK_HEADERS(X11/extensions/XI.h,
+ XLIBS="-lXi $XLIBS",
+- AC_MSG_WARN(libXi Not found)),
++ AC_MSG_WARN(libXi Not found))],
+ ,
+ $XLFLAGS $X_PRE_LIBS $XLIBS)
+
diff --git a/games/spaceracer/patches/patch-loopercpp b/games/spaceracer/patches/patch-loopercpp
new file mode 100644
index 00000000000..93e79092c7d
--- /dev/null
+++ b/games/spaceracer/patches/patch-loopercpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-loopercpp,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
+
+g++ does not like double definition of default parameters.
+
+--- src/stk/kernel/stk_looper.cpp.orig 2001-07-15 23:26:19.000000000 +0200
++++ src/stk/kernel/stk_looper.cpp 2006-03-09 14:59:00.000000000 +0100
+@@ -39,7 +39,7 @@ int Stk2_Messages::PollMessage(Stk2_Mess
+
+ /* ---------------------- Looper ----------------------------- */
+
+-Stk2_Looper::Stk2_Looper(int freq=25)
++Stk2_Looper::Stk2_Looper(int freq)
+ :Stk_Thread()
+ {
+ frequency=freq;
diff --git a/games/spaceracer/patches/patch-soundcpp b/games/spaceracer/patches/patch-soundcpp
new file mode 100644
index 00000000000..6815369f008
--- /dev/null
+++ b/games/spaceracer/patches/patch-soundcpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-soundcpp,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
+
+g++ does not like double definition of default parameters.
+
+--- src/stk/sound/stk_sound.cpp.orig 2001-07-15 23:26:19.000000000 +0200
++++ src/stk/sound/stk_sound.cpp 2006-03-09 14:59:42.000000000 +0100
+@@ -145,7 +145,7 @@ void Stk_CSound::Play(char *filename)
+
+
+ /* Server class */
+-Stk_PSound::Stk_PSound(int freq=25)
++Stk_PSound::Stk_PSound(int freq)
+ :Stk2_Looper(freq)
+ {
+ // no last sing