pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/z80-asm/patches Forgot to commit the actual patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7a11b9c5299
branches:  trunk
changeset: 523722:f7a11b9c5299
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jan 12 14:12:17 2007 +0000

description:
Forgot to commit the actual patch.

diffstat:

 devel/z80-asm/patches/patch-aa |  23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r a78afe339b26 -r f7a11b9c5299 devel/z80-asm/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/z80-asm/patches/patch-aa    Fri Jan 12 14:12:17 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index