diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-30 17:20:15 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-30 17:20:15 +0800 |
commit | 17a5dab48661a2a8ec836d45aabe1826fb28191e (patch) | |
tree | 0662eb0264bd54ed75943f6aed00e659920a9113 /games/hex-a-hop/files | |
parent | 366638ae760f6f51a076ac8d3adc2374c6b5ac90 (diff) | |
download | freebsd-ports-graphics-17a5dab48661a2a8ec836d45aabe1826fb28191e.tar.gz freebsd-ports-graphics-17a5dab48661a2a8ec836d45aabe1826fb28191e.tar.zst freebsd-ports-graphics-17a5dab48661a2a8ec836d45aabe1826fb28191e.zip |
- Fix build errors and runtime issues on 64 bit platforms
- Use DATADIR
PR: 127385
Submitted by: myself
Approved by: maintainer timeout
Diffstat (limited to 'games/hex-a-hop/files')
-rw-r--r-- | games/hex-a-hop/files/patch-hex_puzzzle.cpp | 11 | ||||
-rw-r--r-- | games/hex-a-hop/files/patch-menus.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/games/hex-a-hop/files/patch-hex_puzzzle.cpp b/games/hex-a-hop/files/patch-hex_puzzzle.cpp new file mode 100644 index 00000000000..7cc8d43ae7e --- /dev/null +++ b/games/hex-a-hop/files/patch-hex_puzzzle.cpp @@ -0,0 +1,11 @@ +--- hex_puzzzle.cpp.orig 2006-02-21 07:12:34.000000000 +0300 ++++ hex_puzzzle.cpp 2008-09-14 21:34:14.296378652 +0400 +@@ -2313,7 +2313,7 @@ + + SDL_Surface* Load(const char * bmp, bool colourKey=true) + { +- typedef unsigned long uint32; ++ typedef unsigned int uint32; + uint32* tmp = 0; + + SDL_Surface * g = 0; diff --git a/games/hex-a-hop/files/patch-menus.h b/games/hex-a-hop/files/patch-menus.h new file mode 100644 index 00000000000..8bcb8052d3b --- /dev/null +++ b/games/hex-a-hop/files/patch-menus.h @@ -0,0 +1,11 @@ +--- menus.h.orig 2006-02-21 06:10:35.000000000 +0300 ++++ menus.h 2008-09-14 21:34:41.711083734 +0400 +@@ -1073,7 +1073,7 @@ + if (under) + under->Render(); + +- RenderFade(time, dir, (int)this); ++ RenderFade(time, dir, reinterpret_cast<intptr_t>(this)); + } + void Update(double timedelta) + { |