[Lunar-commits] <moonbase> partimage: add a patch to compile again.

Florin Braescu florin at lunar-linux.org
Mon Apr 12 12:57:19 CEST 2010


commit 720b45b9241a2f3e441bac7e965e2442c3a9d959
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Apr 12 13:57:19 2010 +0300

    partimage: add a patch to compile again.
---
 filesys/partimage/BUILD   |    6 ++++--
 filesys/partimage/DETAILS |   12 ++++++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/filesys/partimage/BUILD b/filesys/partimage/BUILD
index c6722dc..4af4f22 100644
--- a/filesys/partimage/BUILD
+++ b/filesys/partimage/BUILD
@@ -1,13 +1,15 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   # 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  &&
 
   default_config  &&
 
-  sedit '/partimag\.root/d' Makefile.{in,am}   &&
-  sedit "s|partimag:root|disk:root|g" Makefile &&
+  sedit '/partimag\.root/d' Makefile.{in,am}    &&
+  sedit "s|partimag:root|disk:root|g" Makefile  &&
 
   default_make
 
diff --git a/filesys/partimage/DETAILS b/filesys/partimage/DETAILS
index 975d220..1b1cdee 100644
--- a/filesys/partimage/DETAILS
+++ b/filesys/partimage/DETAILS
@@ -1,17 +1,21 @@
           MODULE=partimage
          VERSION=0.6.8
           SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=$SFORGE_URL/$MODULE/
+         SOURCE2=$MODULE-$VERSION-gcc44.patch.bz2
+      SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:e88c22e8ba67545dc9d836c12ec56c89c0c11663
-        WEB_SITE=http://www.partimage.org/
+     SOURCE2_VFY=sha1:876f4d96e3b5d837d2d8f9e1424ab91795113f06
+        WEB_SITE=http://www.partimage.org
          ENTERED=20040226
-         UPDATED=20100220
+         UPDATED=20100412
            SHORT="Create smaller images of entire partitions"
+
 cat << EOF
 Partition Image is a Linux/UNIX utility which saves partitions in many
 formats (see below) to an image file. The image file can be compressed
 in the GZIP/BZIP2 formats to save disk space, and split into multiple
-files to be copied on removable floppies (ZIP for example), ... Partitions
+files to be copied on removable floppies (ZIP for example). Partitions
 can be saved across the network since version 0.6.0.
 
 Partition Image will only copy data from the used portions of the partition.


More information about the Lunar-commits mailing list