[Lunar-commits] <moonbase> vavoom: fix startup error

Paul Bredbury brebs at lunar-linux.org
Thu Oct 8 20:04:58 CEST 2009


commit 85146f18be868bb2c4214f636850cb372633185d
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Oct 9 01:04:58 2009 +0700

    vavoom: fix startup error
---
 games/vavoom/BUILD   |    7 ++++---
 games/vavoom/DETAILS |    7 ++++++-
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/games/vavoom/BUILD b/games/vavoom/BUILD
index 8d25a0b..0f9cd44 100644
--- a/games/vavoom/BUILD
+++ b/games/vavoom/BUILD
@@ -1,13 +1,14 @@
 (
 
+  # Fix "division by 0" startup error with gcc 4.4
+  patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+
   # Set default basedir to shared dir, rather than current dir
   sedit "s:fl_basedir = \".\":fl_basedir = \"/usr/share/games/vavoom\":" source/files.cpp &&
 
   # BINDIR and DATADIR are relative to CMAKE_INSTALL_PREFIX
   cmake . -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_ALLEGRO=N -DBINDIR=games -DDATADIR="share/games/vavoom" -DENABLE_WRAPPERS=OFF &&
 
-  default_build &&
-  
-  echo "Run with e.g.:  vavoom -opengl -openal -doom"
+  default_build
 
 ) > $C_FIFO 2>&1
diff --git a/games/vavoom/DETAILS b/games/vavoom/DETAILS
index 3ab5376..85151c3 100644
--- a/games/vavoom/DETAILS
+++ b/games/vavoom/DETAILS
@@ -1,15 +1,20 @@
           MODULE=vavoom
          VERSION=1.30
           SOURCE=${MODULE}-${VERSION}.tar.bz2
+         SOURCE2=vavoom-1.30-gcc44-fix.patch.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:53135df66631eb3fd6efce618569916518eaa943
+     SOURCE2_VFY=sha1:25f2fe6460e7c7e8e8098949ded4f272c706381c
         WEB_SITE=http://www.vavoom-engine.com/
          ENTERED=20090727
-         UPDATED=20090727
+         UPDATED=20091007
            SHORT="Advanced source port for Doom/Heretic/Hexen/Strife"
            PSAFE=no
 
 cat << EOF
 Vavoom is a source port based on sources of Doom, Heretic, Hexen, and a
 little bit from Quake. Supported platforms are DOS, Windows and Linux.
+
+Run with e.g.:  vavoom -opengl -openal -doom
 EOF


More information about the Lunar-commits mailing list