[Lunar-commits] <moonbase> openuniverse: The "patch" should not be there in that fashion. Fixing.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri May 6 03:10:57 CEST 2011


commit 765420e2788b499e2c229e2cdad9aa3c5ead9465
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu May 5 21:10:57 2011 -0400

    openuniverse: The "patch" should not be there in that fashion. Fixing.
    
    Using the default game build function.
---
 games/openuniverse/BUILD |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/games/openuniverse/BUILD b/games/openuniverse/BUILD
index a2386c5..48c6b79 100644
--- a/games/openuniverse/BUILD
+++ b/games/openuniverse/BUILD
@@ -1,21 +1,8 @@
 (
-  
-  patch -p0 << EOF
---- src/ou.h	2002-09-03 14:13:04.000000000 +0200
-+++ src/ou.h	2002-09-03 14:15:50.000000000 +0200
-@@ -21,0 +22 @@
-+#include <string.h>
---- src/comet.cpp	2002-09-03 14:19:59.000000000 +0200
-+++ src/comet.cpp	2002-09-03 14:20:11.000000000 +0200
-@@ -55 +55 @@
--#ifdef GL_EXT_point_parameters
-+#ifdef GL_EXT_point_parameters_UNDEFINED
-EOF
 
-  ./configure  --prefix=/usr                \
-               --bindir=/usr/games          \
-               --datadir=/usr/share/games   &&
+  sed -i "23i #include <string.h>" src/ou.h &&
+  sedit "s:GL_EXT_point_parameters:GL_EXT_point_parameters_UNDEFINED:g" src/comet.cpp &&
 
-  default_make
+  default_game_build
   
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list