diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2012-02-18 10:18:33 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2012-02-18 10:18:33 +0000 |
commit | fbd01976390528d38e2ffbe3df8037a79e26e972 (patch) | |
tree | 8144098cc3ca2dd1b78e333ab572429bc0046430 /games/warmux | |
parent | e25425a4abd3a6a71133fb4845d5388f5f6a201a (diff) |
Notes
Diffstat (limited to 'games/warmux')
-rw-r--r-- | games/warmux/Makefile | 1 | ||||
-rw-r--r-- | games/warmux/files/patch-lib-warmux-action-action.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/games/warmux/Makefile b/games/warmux/Makefile index 405959c330b8..cddfd72e99c0 100644 --- a/games/warmux/Makefile +++ b/games/warmux/Makefile @@ -7,6 +7,7 @@ PORTNAME= warmux DISTVERSION= 11.04.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://download.gna.org/${PORTNAME}/ \ http://download.gna.org/${PORTNAME}/archive/ diff --git a/games/warmux/files/patch-lib-warmux-action-action.cpp b/games/warmux/files/patch-lib-warmux-action-action.cpp new file mode 100644 index 000000000000..8dae607edb03 --- /dev/null +++ b/games/warmux/files/patch-lib-warmux-action-action.cpp @@ -0,0 +1,11 @@ +--- lib/warmux/action/action.cpp.orig 2012-02-13 22:38:00.000000000 +0100 ++++ lib/warmux/action/action.cpp 2012-02-13 22:37:45.000000000 +0100 +@@ -85,7 +85,7 @@ + { + m_creator = _creator; + +- m_header.len = SDLNet_Read32(buffer); ++ m_header.len = SDLNet_Read32((Uint32*)buffer); + ASSERT(m_header.len >= sizeof(Header)); + buffer += 4; + // All of the following could be skipped for the actions we now, |