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

Paul Bredbury brebs at lunar-linux.org
Sat Sep 26 10:38:48 CEST 2009


commit 0a530a46cb9d27cdfc222ca35e3283afb11a1865
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Sep 26 15:38:48 2009 +0700

    partimage: compilation fix
---
 filesys/partimage/BUILD   |    8 ++++++++
 filesys/partimage/DEPENDS |    2 +-
 filesys/partimage/DETAILS |    3 +++
 3 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/filesys/partimage/BUILD b/filesys/partimage/BUILD
index aac19c7..5d30ace 100644
--- a/filesys/partimage/BUILD
+++ b/filesys/partimage/BUILD
@@ -1,5 +1,13 @@
 (
 
+  # Fixes compilation error:
+  # net.h:31:22: error: iostream.h: No such file or directory
+  sedit "s:iostream.h:iostream:" src/shared/net.h src/server/partimaged.cpp src/server/partimaged-main.cpp  &&
+
+  # Fixes compilation error:
+  # misc.cpp:2375: error: invalid conversion from 'const char*' to 'char*'
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   default_config  &&
 
   sedit '/partimag\.root/d' Makefile.{in,am}   &&
diff --git a/filesys/partimage/DEPENDS b/filesys/partimage/DEPENDS
index 7a8bebe..1c6d491 100644
--- a/filesys/partimage/DEPENDS
+++ b/filesys/partimage/DEPENDS
@@ -1,2 +1,2 @@
-depends newt &&
+depends newt
 depends openssl
diff --git a/filesys/partimage/DETAILS b/filesys/partimage/DETAILS
index 4887bd6..7252d9a 100644
--- a/filesys/partimage/DETAILS
+++ b/filesys/partimage/DETAILS
@@ -1,8 +1,11 @@
           MODULE=partimage
          VERSION=0.6.7
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=partimage-0.6.7-glibc-2.10.patch.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:c02e0db728e72277a78a1fb4140171ba8a9336cf
+     SOURCE2_VFY=sha1:66e14884bf132d5405d14c3599b85d8cfe98708a
         WEB_SITE=http://www.partimage.org/
          ENTERED=20040226
          UPDATED=20090825


More information about the Lunar-commits mailing list