diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-09 12:10:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-09 12:10:09 +0000 |
commit | 0a0557eab1c6d0f15d1661294f2706010d89418e (patch) | |
tree | 98c49dc9a43b0b03af7604ee484112bc384b11b7 /emulators/swarm/patches | |
parent | 3a3fbe75381ce568da7b48a61c1ede186f8f4266 (diff) | |
download | pkgsrc-0a0557eab1c6d0f15d1661294f2706010d89418e.tar.gz |
Add DragonFly support.
Diffstat (limited to 'emulators/swarm/patches')
-rw-r--r-- | emulators/swarm/patches/patch-ad | 4 | ||||
-rw-r--r-- | emulators/swarm/patches/patch-ak | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/emulators/swarm/patches/patch-ad b/emulators/swarm/patches/patch-ad index adc4e02cb46..88aaaf2559b 100644 --- a/emulators/swarm/patches/patch-ad +++ b/emulators/swarm/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.2 2005/11/03 21:51:57 rillig Exp $ +$NetBSD: patch-ad,v 1.3 2005/12/09 12:10:09 joerg Exp $ --- src/uartctrl.cpp 2003/08/14 08:54:51 1.1 +++ src/uartctrl.cpp 2003/08/14 09:15:14 @@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.2 2005/11/03 21:51:57 rillig Exp $ // int CUARTCtrl::GetPty() { -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__DragonFly__) +#include <sys/param.h> + // masterpty = fd of master pty + const char *letters = "pqrstuvwxyzPQRST"; diff --git a/emulators/swarm/patches/patch-ak b/emulators/swarm/patches/patch-ak new file mode 100644 index 00000000000..ed63f82cb9f --- /dev/null +++ b/emulators/swarm/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2005/12/09 12:10:09 joerg Exp $ + +--- bin/scripts/arch.orig 2005-12-09 11:57:36.000000000 +0000 ++++ bin/scripts/arch +@@ -183,7 +183,7 @@ Linux) case "$machine" in + kbin=$bin + k_version=$version;; + +-FreeBSD) case "$machine" in ++FreeBSD|DragonFly) case "$machine" in + i[3456]86) arch=ix86; machine=$arch; bin=${machine}_freebsd;; + *) echo 1>&2 "Unknown $system machine $machine"; exit 3;; + esac |