diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-26 13:58:12 +0200 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-26 14:07:19 +0200 |
commit | 156476a4356e48a386a3abafaccc919a57e70348 (patch) | |
tree | 16451b690bc50b7d2fae53a659612623f19db0c5 | |
parent | a9f452c3ce16b9e3ac9dcc993d1641ade1049e65 (diff) | |
download | midipix_build-156476a4356e48a386a3abafaccc919a57e70348.tar.bz2 midipix_build-156476a4356e48a386a3abafaccc919a57e70348.tar.xz |
patches/tcsh-6.24.07.local.patch: use $(CFLAGS) when building tc.const.h.
-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 |