diff options
-rw-r--r-- | patches/tcsh-6.24.07.local.patch | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/patches/tcsh-6.24.07.local.patch b/patches/tcsh-6.24.07.local.patch index 1a7f9362..2a2599dc 100644 --- a/patches/tcsh-6.24.07.local.patch +++ b/patches/tcsh-6.24.07.local.patch @@ -12,26 +12,34 @@ 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. -diff -ru tcsh-6.24.05.orig/Makefile.in tcsh-6.24.05/Makefile.in ---- tcsh-6.24.05.orig/Makefile.in 2022-12-04 09:20:48.000000000 +0100 -+++ tcsh-6.24.05/Makefile.in 2022-12-13 13:36:05.821910068 +0100 -@@ -421,6 +421,7 @@ - #CC= cc -h0,ansi,novector,float0 - #CC= lcc -wa +--- 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 +@@ -431,6 +431,7 @@ + #CC= cc -h0,ansi,novector,float0 + #CC= lcc -wa CC_FOR_GETHOST = @CC_FOR_GETHOST@ +CPPFLAGS_FOR_GETHOST=-I. -I$(srcdir) ED= ed AS= as RM= rm -@@ -497,7 +498,7 @@ +@@ -506,7 +507,7 @@ # emxbind tcsh - + gethost.${SUF}: gethost.c sh.err.h tc.const.h sh.h - ${CC_FOR_GETHOST} ${CF} ${CPPFLAGS} ${CFLAGS} $(srcdir)/gethost.c + ${CC_FOR_GETHOST} ${CF} ${CPPFLAGS_FOR_GETHOST} ${CFLAGS_FOR_GETHOST} $(srcdir)/gethost.c - + gethost: gethost.${SUF} - rm -f gethost + rm -f gethost +@@ -595,7 +596,7 @@ + @echo '/* Do not edit this file, make creates it. */' > $@.tmp + @echo '#ifndef _h_tc_const' >> $@.tmp + @echo '#define _h_tc_const' >> $@.tmp +- ${CPP} $(CPPFLAGS) ${DFLAGS} ${EXTRAFLAGS} -D_h_tc_const\ ++ ${CPP} $(CFLAGS) $(CPPFLAGS) ${DFLAGS} ${EXTRAFLAGS} -D_h_tc_const\ + $(srcdir)/tc.const.c | \ + sed -n -e 's/^\(Char STR[a-zA-Z0-9_]*\) *\[ *\].*/extern \1[];/p' | \ + LC_COLLATE=C sort >> $@.tmp diff -ru tcsh-6.23.02.orig/config_f.h tcsh-6.23.02/config_f.h --- tcsh-6.23.02.orig/config_f.h 2022-01-03 09:03:03.000000000 +0100 +++ tcsh-6.23.02/config_f.h 2022-02-01 11:36:23.327968800 +0100 |