From beb444b5d8b8ff2472c70c98f3d0d525a8657b0e Mon Sep 17 00:00:00 2001 From: LucĂ­a Andrea Illanes Albornoz Date: Jan 13 2024 09:50:12 +0000 Subject: patches/tcsh-6.24.10.local.patch: correctly host-link gethost. --- diff --git a/patches/tcsh-6.24.10.local.patch b/patches/tcsh-6.24.10.local.patch index 2a2599d..2e9fbd2 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