aboutsummaryrefslogtreecommitdiffstats
path: root/games/shaaft/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-03 05:33:26 +0800
committerkrion <krion@FreeBSD.org>2004-01-03 05:33:26 +0800
commitb1cd99f1eb39aaf7482aa720449c5f26db12b3a6 (patch)
tree635edd2a2779f20906fec412c389b2c58483dd42 /games/shaaft/files
parenta8e020409d388c7d17f4c3bd60882cb3ec4767c4 (diff)
downloadfreebsd-ports-gnome-b1cd99f1eb39aaf7482aa720449c5f26db12b3a6.tar.gz
freebsd-ports-gnome-b1cd99f1eb39aaf7482aa720449c5f26db12b3a6.tar.zst
freebsd-ports-gnome-b1cd99f1eb39aaf7482aa720449c5f26db12b3a6.zip
Shaaft is an OpenGL 3D falling block game similar to Blockout.
Diffstat (limited to 'games/shaaft/files')
-rw-r--r--games/shaaft/files/patch-configure58
-rw-r--r--games/shaaft/files/patch-game::main.cpp20
-rw-r--r--games/shaaft/files/patch-utilsgl::GLBitmapCollection.cpp11
-rw-r--r--games/shaaft/files/patch-utilsgl::GLTexture.hpp11
-rw-r--r--games/shaaft/files/patch-utilssdl::PNG.hpp11
5 files changed, 111 insertions, 0 deletions
diff --git a/games/shaaft/files/patch-configure b/games/shaaft/files/patch-configure
new file mode 100644
index 000000000000..f5c82073dca7
--- /dev/null
+++ b/games/shaaft/files/patch-configure
@@ -0,0 +1,58 @@
+--- configure.orig Fri Jan 2 00:19:59 2004
++++ configure Fri Jan 2 18:15:32 2004
+@@ -1424,7 +1424,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lSDL `sdl-config --libs` $LIBS"
++LIBS="-lSDL-1.1 `sdl11-config --libs` $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1430 "configure"
+ #include "confdefs.h"
+@@ -1448,9 +1448,9 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- LIBS="$LIBS `sdl-config --libs`" ; \
+- CFLAGS="$CFLAGS `sdl-config --cflags`" ; \
+- CXXFLAGS="$CXXFLAGS `sdl-config --cflags`" ; \
++ LIBS="$LIBS `sdl11-config --libs`" ; \
++ CFLAGS="$CFLAGS `sdl11-config --cflags`" ; \
++ CXXFLAGS="$CXXFLAGS `sdl11-config --cflags`" ; \
+ HAVE_SDL=1
+ else
+ echo "$ac_t""no" 1>&6
+@@ -1588,14 +1588,14 @@
+ LIBS="-L/usr/local/lib -L/usr/X11R6/lib $LIBS"
+ CFLAGS="$CFLAGS -I/usr/X11R6/include" ; \
+ CXXFLAGS="$CXXFLAGS -I/usr/X11R6/include"
+- echo $ac_n "checking for main in -lpng12""... $ac_c" 1>&6
+-echo "configure:1593: checking for main in -lpng12" >&5
++ echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6
++echo "configure:1593: checking for main in -lpng" >&5
+ ac_lib_var=`echo png12'_'main | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpng12 $LIBS"
++LIBS="-lpng $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1601 "configure"
+ #include "confdefs.h"
+@@ -1619,13 +1619,13 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo png12 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ ac_tr_lib=HAVE_LIB`echo png | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpng12 $LIBS"
++ LIBS="-lpng $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
diff --git a/games/shaaft/files/patch-game::main.cpp b/games/shaaft/files/patch-game::main.cpp
new file mode 100644
index 000000000000..89f87d0fcd19
--- /dev/null
+++ b/games/shaaft/files/patch-game::main.cpp
@@ -0,0 +1,20 @@
+--- game/main.cpp.orig Fri Jan 2 18:26:21 2004
++++ game/main.cpp Fri Jan 2 18:26:37 2004
+@@ -12,7 +12,7 @@
+ // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
+ //
+-#include "SDL.h" //needed for SDL_main
++#include <SDL11/SDL.h> //needed for SDL_main
+
+ #include <Trace.hpp>
+ #include <Constants.hpp>
+@@ -46,7 +46,7 @@
+ }
+
+ #include <png.h>
+-#include <SDL/SDL_mixer.h>
++#include <SDL11/SDL_mixer.h>
+ void showVersions( void)
+ {
+ const SDL_version *vsdl = SDL_Linked_Version();
diff --git a/games/shaaft/files/patch-utilsgl::GLBitmapCollection.cpp b/games/shaaft/files/patch-utilsgl::GLBitmapCollection.cpp
new file mode 100644
index 000000000000..0b5bbb2bff71
--- /dev/null
+++ b/games/shaaft/files/patch-utilsgl::GLBitmapCollection.cpp
@@ -0,0 +1,11 @@
+--- utilsgl/GLBitmapCollection.cpp.orig Fri Jan 2 18:19:34 2004
++++ utilsgl/GLBitmapCollection.cpp Fri Jan 2 18:19:49 2004
+@@ -16,7 +16,7 @@
+ //
+ #include <iostream>
+
+-#include <SDL/SDL_image.h>
++#include <SDL11/SDL_image.h>
+ #include <zrwops.hpp>
+
+ #include <Trace.hpp>
diff --git a/games/shaaft/files/patch-utilsgl::GLTexture.hpp b/games/shaaft/files/patch-utilsgl::GLTexture.hpp
new file mode 100644
index 000000000000..40cc7f58b834
--- /dev/null
+++ b/games/shaaft/files/patch-utilsgl::GLTexture.hpp
@@ -0,0 +1,11 @@
+--- utilsgl/GLTexture.hpp.orig Fri Jan 2 18:21:50 2004
++++ utilsgl/GLTexture.hpp Fri Jan 2 18:22:19 2004
+@@ -16,7 +16,7 @@
+ #define _GLTexture_hpp_
+
+ #include <gl++.hpp>
+-#include <SDL/SDL_image.h>
++#include <SDL11/SDL_image.h>
+
+ class GLTexture
+ {
diff --git a/games/shaaft/files/patch-utilssdl::PNG.hpp b/games/shaaft/files/patch-utilssdl::PNG.hpp
new file mode 100644
index 000000000000..7130b50f7228
--- /dev/null
+++ b/games/shaaft/files/patch-utilssdl::PNG.hpp
@@ -0,0 +1,11 @@
+--- utilssdl/PNG.hpp.orig Fri Jan 2 18:17:09 2004
++++ utilssdl/PNG.hpp Fri Jan 2 18:17:33 2004
+@@ -14,7 +14,7 @@
+ //
+ #include <string>
+ #include <png.h>
+-#include "SDL/SDL.h"
++#include <SDL11/SDL.h>
+
+ using std::string;
+