summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-01-13 10:50:12 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-01-13 10:50:12 +0100
commitbeb444b5d8b8ff2472c70c98f3d0d525a8657b0e (patch)
tree40a0e1c0b65f5fb048ebdf05434ef0f4681a687b /patches
parent39cd9d4b3230831740b95a8d9d42a30e87322898 (diff)
downloadmidipix_build-beb444b5d8b8ff2472c70c98f3d0d525a8657b0e.tar.bz2
midipix_build-beb444b5d8b8ff2472c70c98f3d0d525a8657b0e.tar.xz
patches/tcsh-6.24.10.local.patch: correctly host-link gethost.
Diffstat (limited to 'patches')
-rw-r--r--patches/tcsh-6.24.10.local.patch11
1 files 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