summaryrefslogtreecommitdiff
path: root/misc/ppower/patches
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2005-02-26 13:09:11 +0000
committerdsainty <dsainty@pkgsrc.org>2005-02-26 13:09:11 +0000
commita832b0c93d60e2ea39830c70db948b5aad3178c3 (patch)
treece4664d12bca9edef61585997c809624c4864498 /misc/ppower/patches
parentdfd385bb3c99499cbbbc365ac775ecd257f273f9 (diff)
downloadpkgsrc-a832b0c93d60e2ea39830c70db948b5aad3178c3.tar.gz
Penguin Power, version 0.1.5
Ppower, short for 'Penguin Power', is a piece of UNIX software for controlling x10 home automation equipment connected to the computer via a cm11a interface. It can be used to turn things on and off and lights dim and bright. In addition to controlling the x10 devices, it can receive commands sent to the x10 devices from other sources such as an x10 remote transceiver and execute commands on your system in response. The virtue of ppower is that it is designed to run as a daemon at all times, keeping track of the status of the X10 system, taking action on events, queueing requests, and providing information on the events it is receiving to any interested clients.
Diffstat (limited to 'misc/ppower/patches')
-rw-r--r--misc/ppower/patches/patch-aa19
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 */