diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-12 14:12:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-12 14:12:17 +0000 |
commit | d07c048f3d3ef58df248b5506e3c5d064cc96c04 (patch) | |
tree | 8bd040dc3085cc9a5c4690bcc207ce8725fd57e3 /devel/z80-asm | |
parent | 40215a28311aea6cfd287f4c5f16798844f91178 (diff) | |
download | pkgsrc-d07c048f3d3ef58df248b5506e3c5d064cc96c04.tar.gz |
Forgot to commit the actual patch.
Diffstat (limited to 'devel/z80-asm')
-rw-r--r-- | devel/z80-asm/patches/patch-aa | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/z80-asm/patches/patch-aa b/devel/z80-asm/patches/patch-aa new file mode 100644 index 00000000000..d1101f9cab0 --- /dev/null +++ b/devel/z80-asm/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1 2007/01/12 14:12:17 rillig Exp $ + +Solaris is kind of UNIX-like, but does not have the cfmakeraw function. + +--- console.c.orig 2003-01-20 14:53:08.000000000 +0100 ++++ console.c 2007-01-12 15:06:02.202678144 +0100 +@@ -7,6 +7,7 @@ + #include <stdio.h> + #include <stdarg.h> + #include <stdlib.h> ++#include <string.h> /* Solaris requires this for FD_ZERO() */ + + #ifdef DOS + #include <conio.h> +@@ -33,7 +34,7 @@ c_refresh(void) + void + c_init(void) + { +-#ifdef UNIX ++#if defined(UNIX) && !defined(__sun) + struct termios t; + + console_ok=0; |