From c698b01b4dd1f63abe27505ce78d68194ba2d6b6 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 21 Jan 2005 12:55:11 +0000 Subject: Interix fix: don't prototype setmode() differently unless it'll actually be used that way; #ifdef guard it. --- lang/mawk/distinfo | 3 ++- lang/mawk/patches/patch-ae | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 lang/mawk/patches/patch-ae (limited to 'lang') diff --git a/lang/mawk/distinfo b/lang/mawk/distinfo index 94a725cbb3e..1a2d9b2b890 100644 --- a/lang/mawk/distinfo +++ b/lang/mawk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2003/09/30 21:47:14 seb Exp $ +$NetBSD: distinfo,v 1.6 2005/01/21 12:55:11 tv Exp $ SHA1 (mawk-1.3.3.tar.gz) = 314bcdb6543733f47ef4d9d9356b23f53d6a7f89 Size (mawk-1.3.3.tar.gz) = 209942 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = 49ef8e8f9d5392c47933eadba87aceae1079d89b SHA1 (patch-ab) = b8faa90c98fac027b295336936a8e43c7087d972 SHA1 (patch-ac) = e6671c71b7fdc2c8ccc0866e530c38057a80d48f SHA1 (patch-ad) = f74b16d155d3486e55b37485fe5d5c40ce5a4b56 +SHA1 (patch-ae) = 74d374a1f5b216543a748fbde4d259c6e9d6e401 diff --git a/lang/mawk/patches/patch-ae b/lang/mawk/patches/patch-ae new file mode 100644 index 00000000000..57acaa7e289 --- /dev/null +++ b/lang/mawk/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2005/01/21 12:55:11 tv Exp $ + +--- fin.h.orig 2005-01-21 07:53:29.000000000 -0500 ++++ fin.h +@@ -52,5 +52,7 @@ unsigned PROTO ( fillbuff, (int, char *, + extern FIN *main_fin ; /* for the main input stream */ + void PROTO( open_main, (void) ) ; + ++#if MSDOS + void PROTO(setmode, (int,int)) ; ++#endif + #endif /* FIN_H */ -- cgit v1.2.3