tcsh-6.19.00-001-remove-CFLAGS-for-gethost.patch added

> Remove CFLAGS for gethost to ease cross-compilation
This commit is contained in:
David Kaspar [Dee'Kej] 2016-05-03 12:22:55 +02:00
parent e936722d6f
commit ec4630726d
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 0ec81072bff28befe1337612d4ec7a2d12028c9d Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Tue, 26 May 2015 11:59:47 +0000
Subject: [PATCH] Remove CFLAGS for gethost to ease cross-compilation
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index b557cfa..bfe51b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -449,7 +449,7 @@ pure:$(P) ${OBJS}
gethost: gethost.c sh.err.h tc.const.h sh.h
rm -f gethost
- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} $(srcdir)/gethost.c
+ ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
tc.defs.c: gethost host.defs
@rm -f $@.tmp
--
2.5.5

View File

@ -29,6 +29,7 @@ Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
# Upstream patches -- official upstream patches released by upstream since the # Upstream patches -- official upstream patches released by upstream since the
# ---------------- last rebase that are necessary for any reason: # ---------------- last rebase that are necessary for any reason:
Patch000: tcsh-6.19.00-000-announcement.patch Patch000: tcsh-6.19.00-000-announcement.patch
Patch001: tcsh-6.19.00-001-remove-CFLAGS-for-gethost.patch
# Downstream patches -- these should be always included when doing rebase: # Downstream patches -- these should be always included when doing rebase:
@ -152,6 +153,7 @@ fi
* Tue May 3 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-7 * Tue May 3 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-7
- Adding multiple upstream patches to stay closer with upstream: - Adding multiple upstream patches to stay closer with upstream:
tcsh-6.19.00-000-announcement.patch tcsh-6.19.00-000-announcement.patch
tcsh-6.19.00-001-remove-CFLAGS-for-gethost.patch
* Thu Apr 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-6 * Thu Apr 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-6
- Drop tcsh-6.15.00-closem.patch - issue not reproducible, patch not accepted by upstream - Drop tcsh-6.15.00-closem.patch - issue not reproducible, patch not accepted by upstream