[Lunar-commits] <moonbase> expect: add a patch to compile with tcl/tk 8.5.x.

Florin Braescu florin at lunar-linux.org
Thu Apr 16 08:46:59 CEST 2009


commit 56b30102c16dc7a8a7fa87f9ad5f9ebc1865cf1c
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Thu Apr 16 09:46:59 2009 +0300

    expect: add a patch to compile with tcl/tk 8.5.x.
---
 devel/expect/BUILD   |    6 +++++-
 devel/expect/DETAILS |    9 ++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/devel/expect/BUILD b/devel/expect/BUILD
index cb6843c..de2c390 100644
--- a/devel/expect/BUILD
+++ b/devel/expect/BUILD
@@ -4,6 +4,8 @@
    OPTS="$OPTS --with-tk=$SOURCE_DIRECTORY/libtke/tk/unix"
  fi
 
+  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
+ 
  cd $SOURCE_DIRECTORY/                 &&
  ./configure $OPTS                      \
              --prefix=/usr              \
@@ -14,7 +16,9 @@
              --with-tcl=$SOURCE_DIRECTORY/libtke/tcl/unix            \
              --with-tclinclude=$SOURCE_DIRECTORY/libtke/tcl/generic  \
              --enable-gcc  &&
+
+ sedit "s:8.4:8.5:" Makefile  &&
+
  default_make
 
 ) > $C_FIFO 2>&1
-
diff --git a/devel/expect/DETAILS b/devel/expect/DETAILS
index 0bf8ebb..6516859 100644
--- a/devel/expect/DETAILS
+++ b/devel/expect/DETAILS
@@ -2,14 +2,17 @@
           VERSION=5.43.0
            SOURCE=$MODULE-$VERSION.tar.bz2
           SOURCE2=tcl_tk_bits_for_expect.tar.bz2
+          SOURCE3=$MODULE-$VERSION-tcl_8.5.x_fix.patch.bz2
  SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-5.43
-       SOURCE_URL=http://expect.nist.gov/old/
+       SOURCE_URL=http://expect.nist.gov/old
        SOURCE_VFY=sha1:a73530772f9d735e98175c7807efa8e785c5fa60
       SOURCE2_URL=$PATCH_URL
       SOURCE2_VFY=sha1:7f5680463d431ad139ea0dedeecc845195a4ef83
-         WEB_SITE=http://expect.nist.gov/
+      SOURCE3_URL=$PATCH_URL
+      SOURCE3_VFY=sha1:413060c3d13ef68c7d8ef3e558fd6ff01856dbd9
+         WEB_SITE=http://expect.nist.gov
           ENTERED=20030817
-          UPDATED=20050209
+          UPDATED=20090416
             PSAFE="no"
             SHORT="tool for automating interactive applications"
 


More information about the Lunar-commits mailing list