From 256e671e1944961ca4e19c13684cec34da1966bf Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 16 Apr 2006 14:35:51 +0000 Subject: tcltk: apply patch to fix a bogus line in the configure scripts bash 3.1 has a more strict syntax checking than 3.0, this is why it bailed out only on some boxes --- packages/tcltk/tcl/.mtn2git_empty | 0 packages/tcltk/tcl/fix-configure.patch | 25 +++++++++++++++++++++++++ packages/tcltk/tcl_8.4.11.bb | 5 +++-- packages/tcltk/tk/.mtn2git_empty | 0 packages/tcltk/tk/fix-configure.patch | 16 ++++++++++++++++ packages/tcltk/tk_8.4.11.bb | 5 +++-- 6 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 packages/tcltk/tcl/.mtn2git_empty create mode 100644 packages/tcltk/tcl/fix-configure.patch create mode 100644 packages/tcltk/tk/.mtn2git_empty create mode 100644 packages/tcltk/tk/fix-configure.patch (limited to 'packages/tcltk') diff --git a/packages/tcltk/tcl/.mtn2git_empty b/packages/tcltk/tcl/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/tcltk/tcl/fix-configure.patch b/packages/tcltk/tcl/fix-configure.patch new file mode 100644 index 0000000000..e37780352d --- /dev/null +++ b/packages/tcltk/tcl/fix-configure.patch @@ -0,0 +1,25 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- tcl8.4.11/unix/configure~fix-configure ++++ tcl8.4.11/unix/configure +@@ -2130,7 +2130,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print }' /etc/.relid'` ++ system=MP-RAS-`awk '{print }' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` +@@ -7608,7 +7608,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print }' /etc/.relid'` ++ system=MP-RAS-`awk '{print }' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` diff --git a/packages/tcltk/tcl_8.4.11.bb b/packages/tcltk/tcl_8.4.11.bb index 0851cbd165..6dc5bb5365 100644 --- a/packages/tcltk/tcl_8.4.11.bb +++ b/packages/tcltk/tcl_8.4.11.bb @@ -2,10 +2,11 @@ DESCRIPTION = "Tool Command Language" LICENSE = "tcl" SECTION = "devel/tcltk" HOMEPAGE = "http://tcl.sourceforge.net" -PR = "r2" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \ - file://tcl-add-soname.patch;patch=1" + file://tcl-add-soname.patch;patch=1 \ + file://fix-configure.patch;patch=1" S = "${WORKDIR}/tcl${PV}/unix" inherit autotools diff --git a/packages/tcltk/tk/.mtn2git_empty b/packages/tcltk/tk/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/tcltk/tk/fix-configure.patch b/packages/tcltk/tk/fix-configure.patch new file mode 100644 index 0000000000..6c6f0374bd --- /dev/null +++ b/packages/tcltk/tk/fix-configure.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- tk8.4.11/unix/configure~fix-configure ++++ tk8.4.11/unix/configure +@@ -1849,7 +1849,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print }' /etc/.relid'` ++ system=MP-RAS-`awk '{print }' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` diff --git a/packages/tcltk/tk_8.4.11.bb b/packages/tcltk/tk_8.4.11.bb index b993a4be03..7a66ddcafb 100644 --- a/packages/tcltk/tk_8.4.11.bb +++ b/packages/tcltk/tk_8.4.11.bb @@ -4,11 +4,12 @@ SECTION = "devel/tcltk" HOMEPAGE = "http://tcl.sourceforge.net" DEPENDS = "tcl libx11" RDEPENDS = "tcl" -PR = "r2" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \ file://disable-xim.patch;patch=1;pnum=0 \ - file://tk-add-soname.patch;patch=1" + file://tk-add-soname.patch;patch=1 \ + file://fix-configure.patch;patch=1" S = "${WORKDIR}/tk${PV}/unix" inherit autotools -- cgit v1.2.3