pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openmortal The gcc 2.95 pre-processor does not h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97c4f4feed38
branches:  trunk
changeset: 471165:97c4f4feed38
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Mar 20 16:29:41 2004 +0000

description:
The gcc 2.95 pre-processor does not handle multi-line macros in files
using DOS line-endings.

diffstat:

 games/openmortal/distinfo         |   3 ++-
 games/openmortal/patches/patch-ab |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 19bdd7a0d721 -r 97c4f4feed38 games/openmortal/distinfo
--- a/games/openmortal/distinfo Sat Mar 20 16:25:16 2004 +0000
+++ b/games/openmortal/distinfo Sat Mar 20 16:29:41 2004 +0000
@@ -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 -r 19bdd7a0d721 -r 97c4f4feed38 games/openmortal/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmortal/patches/patch-ab Sat Mar 20 16:29:41 2004 +0000
@@ -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" );



Home | Main Index | Thread Index | Old Index