diff options
author | kristerw <kristerw> | 2004-03-20 16:29:41 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-03-20 16:29:41 +0000 |
commit | 64b3212b2d74dead64a7bb6a2f9e51efafdd9f57 (patch) | |
tree | 6b666b0c1f5708757f2a675499528f5a0a496e62 | |
parent | a0f1b42c76fabc08753ea8bc5294e397286874ec (diff) | |
download | pkgsrc-64b3212b2d74dead64a7bb6a2f9e51efafdd9f57.tar.gz |
The gcc 2.95 pre-processor does not handle multi-line macros in files
using DOS line-endings.
-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 5c5f22dd0ef..cfc4e0e46f0 100644 --- a/games/openmortal/distinfo +++ b/games/openmortal/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2004/03/06 17:32:11 xtraeme Exp $ +$NetBSD: distinfo,v 1.5 2004/03/20 16:29:41 kristerw Exp $ SHA1 (openmortal-0.6.tar.bz2) = 784f9c3daafeccff840c896c80282c1988189312 Size (openmortal-0.6.tar.bz2) = 50548986 bytes SHA1 (patch-aa) = d18089a348fb7718bed0f47fbff7aaf772915340 +SHA1 (patch-ab) = 107c3753a0da85537a7f097cfd6184d09f6ab46b diff --git a/games/openmortal/patches/patch-ab b/games/openmortal/patches/patch-ab new file mode 100644 index 00000000000..f381bddc8d5 --- /dev/null +++ b/games/openmortal/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1 2004/03/20 16:29:41 kristerw Exp $ + +--- src/main.cpp.orig Sat Mar 20 17:19:32 2004 ++++ src/main.cpp Sat Mar 20 17:20:49 2004 +@@ -246,9 +246,9 @@ +
+ void GameLoop()
+ {
+-#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( "car_start.voc" );
+ Audio->PlayMusic( "GameMusic" );
|