tcltk: apply patch to fix a bogus line in the configure scripts
authorMichael Lauer <mickey@vanille-media.de>
Sun, 16 Apr 2006 14:35:51 +0000 (14:35 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 16 Apr 2006 14:35:51 +0000 (14:35 +0000)
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 [new file with mode: 0644]
packages/tcltk/tcl/fix-configure.patch [new file with mode: 0644]
packages/tcltk/tcl_8.4.11.bb
packages/tcltk/tk/.mtn2git_empty [new file with mode: 0644]
packages/tcltk/tk/fix-configure.patch [new file with mode: 0644]
packages/tcltk/tk_8.4.11.bb

diff --git a/packages/tcltk/tcl/.mtn2git_empty b/packages/tcltk/tcl/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/tcltk/tcl/fix-configure.patch b/packages/tcltk/tcl/fix-configure.patch
new file mode 100644 (file)
index 0000000..e377803
--- /dev/null
@@ -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`
index 0851cbd..6dc5bb5 100644 (file)
@@ -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 (file)
index 0000000..e69de29
diff --git a/packages/tcltk/tk/fix-configure.patch b/packages/tcltk/tk/fix-configure.patch
new file mode 100644 (file)
index 0000000..6c6f037
--- /dev/null
@@ -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`
index b993a4b..7a66ddc 100644 (file)
@@ -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