diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-05-20 17:10:41 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-05-20 17:10:41 +0000 |
commit | a79f4d870565153a44929336ff27dc47e6eb51a9 (patch) | |
tree | b07f379c2b0e285db721a519405491b5be6e1843 /games/openmortal | |
parent | 884bfb7d8de01ee0e576e1495be9d90e3f7665f0 (diff) | |
download | pkgsrc-a79f4d870565153a44929336ff27dc47e6eb51a9.tar.gz |
gcc 2.95 does not handle DOS line endings in multi-line macros.
Diffstat (limited to 'games/openmortal')
-rw-r--r-- | games/openmortal/distinfo | 3 | ||||
-rw-r--r-- | games/openmortal/patches/patch-ab | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/games/openmortal/distinfo b/games/openmortal/distinfo index 8a9cdab1a88..9ec4defb1b1 100644 --- a/games/openmortal/distinfo +++ b/games/openmortal/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2004/05/02 21:48:17 xtraeme Exp $ +$NetBSD: distinfo,v 1.7 2004/05/20 17:10:41 kristerw Exp $ SHA1 (openmortal-0.7.tar.bz2) = a7177012e1c0eb04f357aa9ff013e53c8f7b835c Size (openmortal-0.7.tar.bz2) = 51197736 bytes SHA1 (patch-aa) = d18089a348fb7718bed0f47fbff7aaf772915340 +SHA1 (patch-ab) = 1f7f9075975994e76262df4d3153f1162cb40dd3 diff --git a/games/openmortal/patches/patch-ab b/games/openmortal/patches/patch-ab new file mode 100644 index 00000000000..5b44ee6f275 --- /dev/null +++ b/games/openmortal/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.3 2004/05/20 17:10:41 kristerw Exp $ + +--- src/main.cpp.orig Thu May 20 19:02:49 2004 ++++ src/main.cpp Thu May 20 19:03:15 2004 +@@ -322,9 +322,9 @@ + bool m_bWide;
+ } oVideoModeChanger( g_oState.m_iNumPlayers > 2 );
+
+-#define IS_GAME_MODE (g_oState.m_enGameMode != SState::IN_DEMO \
+- && g_oState.m_enGameMode != SState::IN_CHAT \
+- && !g_oState.m_bQuitFlag)
++#define IS_GAME_MODE (g_oState.m_enGameMode != SState::IN_DEMO \ ++ && g_oState.m_enGameMode != SState::IN_CHAT \ ++ && !g_oState.m_bQuitFlag) +
+ Audio->PlaySample( "GAME_NEW" );
+ Audio->PlayMusic( "GameMusic" );
|