aboutsummaryrefslogtreecommitdiffstats
path: root/games/vdrift/files
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-09-20 19:21:59 +0800
committerstas <stas@FreeBSD.org>2006-09-20 19:21:59 +0800
commit690719e4d56669840ac4b9264f949634ed10d1c1 (patch)
treef8a62d437d458241263339bd8d7a8582056207da /games/vdrift/files
parent5cbdf409c7db9b9d115b500f9084c97595f61719 (diff)
downloadfreebsd-ports-gnome-690719e4d56669840ac4b9264f949634ed10d1c1.tar.gz
freebsd-ports-gnome-690719e4d56669840ac4b9264f949634ed10d1c1.tar.zst
freebsd-ports-gnome-690719e4d56669840ac4b9264f949634ed10d1c1.zip
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
Diffstat (limited to 'games/vdrift/files')
-rw-r--r--games/vdrift/files/patch-SConstruct12
-rw-r--r--games/vdrift/files/patch-src_sound.cpp14
2 files changed, 22 insertions, 4 deletions
diff --git a/games/vdrift/files/patch-SConstruct b/games/vdrift/files/patch-SConstruct
index 89d701992c1d..03c735ce9304 100644
--- a/games/vdrift/files/patch-SConstruct
+++ b/games/vdrift/files/patch-SConstruct
@@ -1,6 +1,6 @@
---- SConstruct Fri Jul 21 16:43:04 2006
-+++ SConstruct Fri Jul 21 16:43:49 2006
-@@ -42,7 +42,7 @@
+--- SConstruct.orig Sun Jul 9 03:05:30 2006
++++ SConstruct Tue Sep 12 19:16:12 2006
+@@ -42,10 +42,10 @@
env = Environment(ENV = os.environ,
CPPPATH = ['#include',LOCALBASE + '/include', LOCALBASE + '/include/AL',X11BASE + '/include'],
LIBPATH = ['.', '#lib', LOCALBASE + '/lib', X11BASE + '/lib'],
@@ -8,4 +8,8 @@
+ LINKFLAGS = ['-pthread','-lintl'],
options = opts)
- check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL11/SDL.h', 'SDL11/SDL_image.h', 'SDL11/SDL_net.h']
+- check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL11/SDL.h', 'SDL11/SDL_image.h', 'SDL11/SDL_net.h']
++ check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_net.h']
+
+ env.Replace(CC = os.environ['CC'])
+ env.Replace(CXX = os.environ['CXX'])
diff --git a/games/vdrift/files/patch-src_sound.cpp b/games/vdrift/files/patch-src_sound.cpp
new file mode 100644
index 000000000000..8819c41a060a
--- /dev/null
+++ b/games/vdrift/files/patch-src_sound.cpp
@@ -0,0 +1,14 @@
+--- src/sound.cpp.orig Tue Sep 12 19:39:38 2006
++++ src/sound.cpp Tue Sep 12 19:41:19 2006
+@@ -282,9 +282,9 @@
+ alutLoadWAVFile((ALbyte*)(filename).c_str(), &format, &data, &size, &freq);
+ #else
+ #ifdef OLD_OPENAL
+- alutLoadWAVFile((ALbyte*)(filename).c_str(), &format, &data, &size, &freq, &loop);
++ alutLoadWAVFile(filename.c_str(), &format, &data, &size, &freq, &loop);
+ #else
+- data = alutLoadMemoryFromFile((ALbyte*)(filename).c_str(), &format, &size, &freq);
++ data = alutLoadMemoryFromFile(filename.c_str(), &format, &size, &freq);
+ #endif
+ #endif
+ //bool err = LoadWave(filename, &format, &data, &size, &freq, &loop);