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

Florin Braescu florin at lunar-linux.org
Mon Aug 3 15:47:19 CEST 2009


commit 84310a73406023b547bb29f105041573524d3948
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Aug 3 16:47:19 2009 +0300

    physfs: add a patch to compile with gcc 4.4.x.
---
 devel/physfs/BUILD   |    3 ++-
 devel/physfs/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/devel/physfs/BUILD b/devel/physfs/BUILD
index 09b87f3..59bee7f 100644
--- a/devel/physfs/BUILD
+++ b/devel/physfs/BUILD
@@ -1,6 +1,7 @@
 (
 
-  cmake -DCMAKE_INSTALL_PREFIX:=/usr -DPHYSFS_BUILD_WX_TEST:=FALSE &&
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+  cmake -DCMAKE_INSTALL_PREFIX:=/usr -DPHYSFS_BUILD_WX_TEST:=FALSE  &&
   default_make
 
 ) > $C_FIFO 2>&1
diff --git a/devel/physfs/DETAILS b/devel/physfs/DETAILS
index 3ae2dff..0bbfd84 100644
--- a/devel/physfs/DETAILS
+++ b/devel/physfs/DETAILS
@@ -1,11 +1,14 @@
           MODULE=physfs
          VERSION=2.0.0
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-gcc44.patch.bz2
       SOURCE_URL=http://icculus.org/physfs/downloads
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:3cfa291a82f2b0cf15b205efcf8bf53c0b54c92c
+     SOURCE2_VFY=sha1:1a5fb569c4fe47a26f70641c626b16146a569606
         WEB_SITE=http://icculus.org/physfs
          ENTERED=20030215
-         UPDATED=20090324
+         UPDATED=20090803
         SHORT="A library to provide abstract access to various archives"
 
 cat << EOF


More information about the Lunar-commits mailing list