From beb444b5d8b8ff2472c70c98f3d0d525a8657b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Sat, 13 Jan 2024 10:50:12 +0100 Subject: patches/tcsh-6.24.10.local.patch: correctly host-link gethost. --- patches/tcsh-6.24.10.local.patch | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/patches/tcsh-6.24.10.local.patch b/patches/tcsh-6.24.10.local.patch index 2a2599dc..2e9fbd26 100644 --- a/patches/tcsh-6.24.10.local.patch +++ b/patches/tcsh-6.24.10.local.patch @@ -12,8 +12,8 @@ diff -ru tcsh-6.24.07.orig/configure tcsh-6.24.07/configure *) : as_fn_error $? "Tcsh can't guess the configuration file name for \`${host}' systems. ---- tcsh-6.24.07/Makefile.in.orig 2022-12-21 20:44:53.000000000 +0100 -+++ tcsh-6.24.07/Makefile.in 2023-03-26 13:56:59.529589767 +0200 +--- tcsh-6.24.10/Makefile.in.orig 2023-04-14 13:52:38.000000000 +0200 ++++ tcsh-6.24.10/Makefile.in 2024-01-13 10:48:11.122576967 +0100 @@ -431,6 +431,7 @@ #CC= cc -h0,ansi,novector,float0 #CC= lcc -wa @@ -22,7 +22,7 @@ diff -ru tcsh-6.24.07.orig/configure tcsh-6.24.07/configure ED= ed AS= as RM= rm -@@ -506,7 +507,7 @@ +@@ -506,11 +507,11 @@ # emxbind tcsh gethost.${SUF}: gethost.c sh.err.h tc.const.h sh.h @@ -31,6 +31,11 @@ diff -ru tcsh-6.24.07.orig/configure tcsh-6.24.07/configure gethost: gethost.${SUF} rm -f gethost +- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} gethost.${SUF} ++ ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS_FOR_GETHOST} ${CFLAGS_FOR_GETHOST} ${LDFLAGS_FOR_GETHOST} gethost.${SUF} + + tc.defs.c: gethost host.defs + @rm -f $@.tmp @@ -595,7 +596,7 @@ @echo '/* Do not edit this file, make creates it. */' > $@.tmp @echo '#ifndef _h_tc_const' >> $@.tmp -- cgit v1.2.3