[Lunar-commits] <moonbase> freesci: add a patch to compile with gcc 4.4.x.

Florin Braescu florin at lunar-linux.org
Sun Sep 27 10:42:12 CEST 2009


commit 2ee99a3758023e7c0b4b86c3d406cb703ace1f20
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Sep 27 11:42:12 2009 +0300

    freesci: add a patch to compile with gcc 4.4.x.
---
 games/freesci/BUILD   |   10 ++++++----
 games/freesci/DETAILS |    3 +++
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/games/freesci/BUILD b/games/freesci/BUILD
index b834578..5488558 100644
--- a/games/freesci/BUILD
+++ b/games/freesci/BUILD
@@ -1,10 +1,12 @@
 (
+
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
   sedit "s:datadir):prefix)/share:" desktop/Makefile.am  &&
 
-  ./configure --prefix=/usr              \
-              --bindir=/usr/games        \
-              --datadir=/usr/share/games \
-              --mandir=/usr/share/man   &&
+  ./configure --prefix=/usr               \
+              --bindir=/usr/games         \
+              --datadir=/usr/share/games  \
+              --mandir=/usr/share/man    &&
 
   sedit "s:datadir)/app:prefix)/share/app:" desktop/Makefile  &&
   sedit "s:datadir)/ico:prefix)/share/ico:" desktop/Makefile  &&
diff --git a/games/freesci/DETAILS b/games/freesci/DETAILS
index 5ad6a99..afebfa9 100644
--- a/games/freesci/DETAILS
+++ b/games/freesci/DETAILS
@@ -1,8 +1,11 @@
           MODULE=freesci
          VERSION=0.6.4
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=$MODULE-$VERSION-gcc44.patch.bz2
       SOURCE_URL=http://www-plan.cs.colorado.edu/creichen/$MODULE
+     SOURCE2_URL=$PATCH_URL
      SOURCE_VFY=sha1:2761812ab95ed9eb3225717a2d336c0b4098fc76
+    SOURCE2_VFY=sha1:1b07d30ef5a0deac7268d729a1ea5ffcc4844dbb
         WEB_SITE=http://freesci.linuxgames.com
          ENTERED=20021225
          UPDATED=20080519


More information about the Lunar-commits mailing list