From d7e541bb8a44a8c7daf5982b9acd7a2362e4efad Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 18 Mar 2004 12:06:59 +0000 Subject: Fix build on amd64, and make this port actually run on 5.x. Submitted by: maintainer --- shells/es/files/patch-mksignal | 15 +++++++++++++++ shells/es/files/patch-print.c | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 shells/es/files/patch-mksignal create mode 100644 shells/es/files/patch-print.c (limited to 'shells/es/files') diff --git a/shells/es/files/patch-mksignal b/shells/es/files/patch-mksignal new file mode 100644 index 000000000000..17a4051c678b --- /dev/null +++ b/shells/es/files/patch-mksignal @@ -0,0 +1,15 @@ +*** mksignal.orig Wed Dec 3 20:59:12 2003 +--- mksignal Wed Dec 3 21:00:50 2003 +*************** +*** 106,111 **** +--- 106,115 ---- + ignore["SIGRTMIN"] = 1 + ignore["SIGSETS"] = 1 + ignore["SIGSTKSZ"] = 1 ++ ++ # FreeBSD 5 added a signal beyond NSIG; es makes too many ++ # assumptions to make this worth fixing. ++ ignore["SIGTHR"] = 1 + + # upper to lowercase translation table: can someone give me an easier + # way to do this that works in ancient versions of awk? diff --git a/shells/es/files/patch-print.c b/shells/es/files/patch-print.c new file mode 100644 index 000000000000..eef906116206 --- /dev/null +++ b/shells/es/files/patch-print.c @@ -0,0 +1,16 @@ +*** print.c.orig Fri Apr 11 15:54:36 1997 +--- print.c Mon Mar 15 18:55:13 2004 +*************** +*** 279,285 **** +--- 279,289 ---- + VA_START(format->args, fmt); + n += printfmt(format, fmt); + va_end(format->args); ++ #if NO_VA_LIST_ASSIGN ++ memcpy(format->args, saveargs, sizeof(va_list)); ++ #else + format->args = saveargs; ++ #endif + + return n + format->flushed; + } -- cgit