[Lunar-commits] <moonbase> tcllib: Fix ::ini::file issue causing an empty file to be written

Stefan Wold ratler at lunar-linux.org
Sat Jun 16 10:20:30 CEST 2012


commit 81da6fb1ec31a9d202f8805ccf0444595a911134
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sat Jun 16 10:20:30 2012 +0200

    tcllib: Fix ::ini::file issue causing an empty file to be written
---
 devel/tcllib/BUILD   |    2 ++
 devel/tcllib/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/devel/tcllib/BUILD b/devel/tcllib/BUILD
index e64c104..e9f6d3a 100644
--- a/devel/tcllib/BUILD
+++ b/devel/tcllib/BUILD
@@ -1,4 +1,6 @@
 (
+  # Fix ::ini::file bug that wipe the ini file on write
+  patch_it $SOURCE2 1 &&
 
   ./configure  --prefix=/usr            \
                --mandir=/usr/share/man  &&
diff --git a/devel/tcllib/DETAILS b/devel/tcllib/DETAILS
index c269691..b368928 100644
--- a/devel/tcllib/DETAILS
+++ b/devel/tcllib/DETAILS
@@ -1,12 +1,15 @@
           MODULE=tcllib
          VERSION=1.14
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=tcllib-1.14-inifile_fix.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
       SOURCE_URL=$SFORGE_URL/$MODULE/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:f27d2443e5469f0de89f4ecbb8e4f58ec152318d
+     SOURCE2_VFY=sha1:49891936b24e66bfdc6970531cc485c10ad61345
         WEB_SITE=http://tcllib.sourceforge.net/
          ENTERED=20051207
-         UPDATED=20120223
+         UPDATED=20120616
            SHORT="Tcl-only library of standard routines for Tcl"
 
 cat << EOF


More information about the Lunar-commits mailing list