diff options
Diffstat (limited to 'misc/heyu/patches')
-rw-r--r-- | misc/heyu/patches/patch-aa | 55 | ||||
-rw-r--r-- | misc/heyu/patches/patch-ab | 13 | ||||
-rw-r--r-- | misc/heyu/patches/patch-ac | 17 | ||||
-rw-r--r-- | misc/heyu/patches/patch-ad | 14 |
4 files changed, 99 insertions, 0 deletions
diff --git a/misc/heyu/patches/patch-aa b/misc/heyu/patches/patch-aa new file mode 100644 index 00000000000..e9b2fabab89 --- /dev/null +++ b/misc/heyu/patches/patch-aa @@ -0,0 +1,55 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $ + +--- Makefile.orig Thu Jul 6 23:34:32 2000 ++++ Makefile Thu Jul 6 23:35:19 2000 +@@ -1,10 +1,7 @@ + # Makefile for CM11, a program to control an X10 CM11A computer interface. +-# Makefile $Revision: 1.1.1.1 $ +-BIN = /usr/local/bin +-MAN = /usr/local/man/man1 +-MAN5 = /usr/local/man/man5 +-GROUP = sys +-OWNER = bin ++BIN = ${PREFIX}/bin ++MAN = ${PREFIX}/man/man1 ++MAN5 = ${PREFIX}/man/man5 + + + # set DFLAGS equal to: +@@ -22,10 +19,10 @@ + ## For LINUX, use the following + #DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX + CC = gcc +-CFLAGS = -g -O $(DFLAGS) -Wall +-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT ++#CFLAGS = -g -O $(DFLAGS) -Wall ++#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT + #LIBS = -lm -lc_s # uncomment if using shared libraries +-LIBS = -lm -lc # uncoment if not using shared libraries ++#LIBS = -lm -lc # uncoment if not using shared libraries + + ## For solaris, use the following defines in addition to what's above + # CC = gcc +@@ -41,6 +38,12 @@ + # LIBS = -lm -lc + # DFLAGS= -DHASSELECT + ++## if you're using NetBSD: ++CC = gcc ++CFLAGS = -g -O $(DFLAGS) -Wall ++LIBS = -lm -lc ++DFLAGS= -DHASSELECT -DPOSIX -DNETBSD -DLOCKDIR=\"/var/spool/lock\" ++ + ## for Alpha, OSF1 v4.0 , Use this + # GROUP = uucp + # CC = gcc +@@ -96,9 +99,7 @@ + + $(BIN)/heyu: heyu + cp heyu $(BIN) +- chgrp $(GROUP) $(BIN)/heyu + chmod 755 $(BIN)/heyu +- chown $(OWNER) $(BIN)/heyu + + $(MAN)/heyu.1: heyu.1 + cp heyu.1 $(MAN) diff --git a/misc/heyu/patches/patch-ab b/misc/heyu/patches/patch-ab new file mode 100644 index 00000000000..0cbd6b1f434 --- /dev/null +++ b/misc/heyu/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $ + +--- heyu.1.orig Thu Jul 6 23:01:16 2000 ++++ heyu.1 Thu Jul 6 23:01:27 2000 +@@ -242,7 +242,7 @@ + .br + .x10sched.conf - CM11A schedule information for timers and macros. + .br +- /var/lock/LCK..heyu.mon - lock file for monitor process ++ /var/spool/lock/LCK..heyu.mon - lock file for monitor process + .br + /var/tmp/heyu.out - fifo file for relay process + .br diff --git a/misc/heyu/patches/patch-ac b/misc/heyu/patches/patch-ac new file mode 100644 index 00000000000..594371b1d17 --- /dev/null +++ b/misc/heyu/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $ + +--- tty.c.orig Thu Jul 6 23:01:40 2000 ++++ tty.c Thu Jul 6 23:01:49 2000 +@@ -87,7 +87,12 @@ + #endif + struct termio oldsb, newsb; + #else ++#ifdef NETBSD ++ #include <sys/termios.h> ++ #define NCC NCCS ++#else + #include <termios.h> ++#endif + struct termios oldsb, newsb; + #endif + diff --git a/misc/heyu/patches/patch-ad b/misc/heyu/patches/patch-ad new file mode 100644 index 00000000000..4c023e9e708 --- /dev/null +++ b/misc/heyu/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $ + +--- xread.c.orig Thu Jul 6 23:02:14 2000 ++++ xread.c Thu Jul 6 23:02:23 2000 +@@ -29,6 +29,9 @@ + #include <signal.h> + #include <setjmp.h> + #include <sys/errno.h> ++#ifdef NETBSD ++ #include <errno.h> ++#endif + #include <syslog.h> + #include <unistd.h> + #include "x10.h" |