From 25b369f82c032ee41b33d52a55f204fcce0b11f0 Mon Sep 17 00:00:00 2001 From: Raymond Danks Date: Mon, 24 Jul 2006 16:21:42 +0000 Subject: [PATCH] tcl - Fix for a crazy configure script in TCL. --- packages/tcltk/tcl/fix-configure.patch | 35 ++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/packages/tcltk/tcl/fix-configure.patch b/packages/tcltk/tcl/fix-configure.patch index e377803..8b2654b 100644 --- a/packages/tcltk/tcl/fix-configure.patch +++ b/packages/tcltk/tcl/fix-configure.patch @@ -1,11 +1,30 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- tcl8.4.11/unix/configure~fix-configure +Index: unix/tcl.m4 +=================================================================== +--- tcl8.4.11/unix.orig/tcl.m4 ++++ tcl8.4.11/unix/tcl.m4 +@@ -845,7 +845,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ + # 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 $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` +@@ -2250,7 +2250,7 @@ AC_DEFUN(SC_BLOCKING_STYLE, [ + # 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 $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` +Index: unix/configure +=================================================================== +--- tcl8.4.11/unix.orig/configure +++ tcl8.4.11/unix/configure -@@ -2130,7 +2130,7 @@ +@@ -2130,7 +2130,7 @@ echo "configure:2121: checking system ve # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then @@ -14,7 +33,7 @@ fi if test "`uname -s`" = "AIX" ; then system=AIX-`uname -v`.`uname -r` -@@ -7608,7 +7608,7 @@ +@@ -7608,7 +7608,7 @@ echo "configure:7600: checking FIONBIO v # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then -- 2.7.4