diff options
Diffstat (limited to 'misc/ppower/patches/patch-aa')
-rw-r--r-- | misc/ppower/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/ppower/patches/patch-aa b/misc/ppower/patches/patch-aa new file mode 100644 index 00000000000..c43f50d6cbd --- /dev/null +++ b/misc/ppower/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $ + +NetBSD doesn't have the OFILL termios flag. + +--- src/x10.c.orig 2000-02-06 14:37:08.000000000 +1300 ++++ src/x10.c 2005-02-26 21:13:47.000000000 +1300 +@@ -84,7 +84,11 @@ + + /* Accept raw data. */ + termios.c_lflag &= ~(ICANON | ECHO | ISIG); +- termios.c_oflag &= ~(OPOST | ONLCR | OCRNL | ONLRET | OFILL); ++ termios.c_oflag &= ~(OPOST | ONLCR | OCRNL | ONLRET ++#ifdef OFILL ++ | OFILL ++#endif ++ ); + termios.c_iflag &= ~(ICRNL | IXON | IXOFF | IMAXBEL); + + /* Return after 1 character available */ |