From 214fdf7a2235fd10e5186d1e4efe0734251be281 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 10 Apr 2007 00:50:24 +0000 Subject: add new files --- shells/tcsh/patches/patches-aa | 24 ++++++++++++++++++++++++ shells/tcsh/patches/patches-ab | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 shells/tcsh/patches/patches-aa create mode 100644 shells/tcsh/patches/patches-ab (limited to 'shells') diff --git a/shells/tcsh/patches/patches-aa b/shells/tcsh/patches/patches-aa new file mode 100644 index 00000000000..3561fdc1ab2 --- /dev/null +++ b/shells/tcsh/patches/patches-aa @@ -0,0 +1,24 @@ +$NetBSD: patches-aa,v 1.1 2007/04/10 00:50:24 christos Exp $ + +--- Makefile.in.orig 2007-04-09 20:02:33.000000000 -0400 ++++ Makefile.in 2007-04-09 20:04:47.000000000 -0400 +@@ -512,17 +512,10 @@ + install-strip: install + + install: tcsh$(EXEEXT) +- -mkdir -p ${DESTBIN} +- -mv -f ${DESTBIN}/tcsh$(EXEEXT) ${DESTBIN}/tcsh.old +- cp tcsh$(EXEEXT) ${DESTBIN}/tcsh$(EXEEXT) +- -strip ${DESTBIN}/tcsh$(EXEEXT) +- chmod 755 ${DESTBIN}/tcsh$(EXEEXT) ++ ${BSD_INSTALL_PROGRAM} tcsh${EXEEXT} ${DESTBIN}/tcsh${EXEEXT} + + install.man: tcsh.man +- -mkdir -p ${DESTMAN} +- -rm -f ${DESTMAN}/tcsh.${MANSECT} +- cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT} +- chmod 444 ${DESTMAN}/tcsh.${MANSECT} ++ ${BSD_INSTALL_MAN} tcsh.man ${DESTMAN}/tcsh.${MANSECT} + + install.cygwin: install install.man + -mkdir -p ${DESTDIR}${prefix}/share/doc/tcsh diff --git a/shells/tcsh/patches/patches-ab b/shells/tcsh/patches/patches-ab new file mode 100644 index 00000000000..4fd3f31b59b --- /dev/null +++ b/shells/tcsh/patches/patches-ab @@ -0,0 +1,24 @@ +$NetBSD: patches-ab,v 1.1 2007/04/10 00:50:24 christos Exp $ + +--- config_f.h.orig 2006-08-28 10:53:04.000000000 -0400 ++++ config_f.h 2007-04-09 20:02:34.000000000 -0400 +@@ -44,7 +44,18 @@ + * of nls... + * + */ +-#define SHORT_STRINGS ++#if defined(__NetBSD__) ++# include ++# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 200000000) ++# define SHORT_STRINGS ++# else ++# undef SHORT_STRINGS ++# endif ++#elif defined(__OpenBSD__) ++# undef SHORT_STRINGS ++#else ++# define SHORT_STRINGS ++#endif + + /* + * WIDE_STRINGS Represent strings using wide characters -- cgit v1.2.3