diff options
Diffstat (limited to 'package/tcsh/patches')
-rw-r--r-- | package/tcsh/patches/patch-Makefile_in | 12 | ||||
-rw-r--r-- | package/tcsh/patches/patch-config_linux | 10 | ||||
-rw-r--r-- | package/tcsh/patches/patch-sh_h | 14 |
3 files changed, 36 insertions, 0 deletions
diff --git a/package/tcsh/patches/patch-Makefile_in b/package/tcsh/patches/patch-Makefile_in new file mode 100644 index 000000000..aaeae79aa --- /dev/null +++ b/package/tcsh/patches/patch-Makefile_in @@ -0,0 +1,12 @@ +use host compiler and flags +--- tcsh-6.17.00.orig/Makefile.in 2009-06-25 00:09:05.000000000 +0200 ++++ tcsh-6.17.00/Makefile.in 2010-02-13 21:01:33.000000000 +0100 +@@ -365,7 +365,7 @@ pure:$(P) ${OBJS} + + gethost: gethost.c sh.err.h tc.const.h sh.h + rm -f gethost +- ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS} ++ ${HOSTCC} -o gethost ${HOSTLDFLAGS} ${HOSTCFLAGS} ${HOSTCPPFLAGS} $(srcdir)/gethost.c ${LIBES} + + tc.defs.c: gethost host.defs + @rm -f $@.tmp diff --git a/package/tcsh/patches/patch-config_linux b/package/tcsh/patches/patch-config_linux new file mode 100644 index 000000000..bec2a22e4 --- /dev/null +++ b/package/tcsh/patches/patch-config_linux @@ -0,0 +1,10 @@ +--- tcsh-6.17.00.orig/config/linux 2006-01-12 20:55:39.000000000 +0100 ++++ tcsh-6.17.00/config/linux 2010-01-06 18:45:10.937855487 +0100 +@@ -106,6 +106,6 @@ + #endif + #define ECHO_STYLE BOTH_ECHO + +-#define NLS_CATALOGS ++#undef NLS_CATALOGS + + #endif /* _h_config */ diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h new file mode 100644 index 000000000..b638e850f --- /dev/null +++ b/package/tcsh/patches/patch-sh_h @@ -0,0 +1,14 @@ +--- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200 ++++ tcsh-6.17.00/sh.h 2010-02-15 18:45:11.000000000 +0100 +@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a) + #include <pwd.h> + #include <grp.h> + #endif /* WINNT_NATIVE */ ++#if !defined(BSD) + #ifdef HAVE_SHADOW_H + # include <shadow.h> + #endif /* HAVE_SHADOW_H */ ++#endif + #ifdef HAVE_AUTH_H + # include <auth.h> + #endif /* HAVE_AUTH_H */ |