[Lunar-commits] <moonbase> physfs: compilation fix

Paul Bredbury brebs at lunar-linux.org
Sat Sep 26 08:27:33 CEST 2009


commit 61c38b9e76af9ee1e5a87ead801316eec001ab2b
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Sep 26 13:27:33 2009 +0700

    physfs: compilation fix
---
 devel/physfs/BUILD |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/devel/physfs/BUILD b/devel/physfs/BUILD
index 59bee7f..f008cdc 100644
--- a/devel/physfs/BUILD
+++ b/devel/physfs/BUILD
@@ -1,6 +1,13 @@
 (
 
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
+  # Fixes compilation error:
+  # cc1: warnings being treated as errors
+  # /usr/src/physfs-2.0.0/archivers/zip.c: In function 'zip_find_end_of_central_dir':
+  # /usr/src/physfs-2.0.0/archivers/zip.c:378: error: 'extra[0u]' may be used uninitialized in this function
+  sedit "s:-Werror::" CMakeLists.txt  &&
+
   cmake -DCMAKE_INSTALL_PREFIX:=/usr -DPHYSFS_BUILD_WX_TEST:=FALSE  &&
   default_make
 


More information about the Lunar-commits mailing list