summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-11-07 23:43:56 +0000
committerdholland <dholland@pkgsrc.org>2015-11-07 23:43:56 +0000
commit5be12dda0d3f8b1ef9effde9a7f96e74ebbc7d9f (patch)
treef82a25ffec2d232da977e54706d0685da602046b /comms
parent2828bde06530a96396cec08675e11d937a78d6a5 (diff)
downloadpkgsrc-5be12dda0d3f8b1ef9effde9a7f96e74ebbc7d9f.tar.gz
fix openbsd/bitrig build
Diffstat (limited to 'comms')
-rw-r--r--comms/plp/distinfo4
-rw-r--r--comms/plp/patches/patch-ab16
2 files changed, 16 insertions, 4 deletions
diff --git a/comms/plp/distinfo b/comms/plp/distinfo
index 72b814652b0..5dbde532fb6 100644
--- a/comms/plp/distinfo
+++ b/comms/plp/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.17 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.18 2015/11/07 23:43:56 dholland Exp $
SHA1 (plp_1_8.tar.gz) = cad586353091895b6efc556d2cb5fa16891a3749
RMD160 (plp_1_8.tar.gz) = 1a29209fd7def352c9a1c6671b1a90efcd276456
SHA512 (plp_1_8.tar.gz) = bbeb2440698d48fd9e5e3363e3b76094c4fa466a8870770f78e0d494a8019bce79c882d8ccf1b25e28443d0790fd9ca125f0069a778741a6bcff9da20a529348
Size (plp_1_8.tar.gz) = 58424 bytes
SHA1 (patch-aa) = de823cbd6f27bfc4245af8d9de100a3a48ac258c
-SHA1 (patch-ab) = 58d05bb66b08e4464b9e612bb821e5bd60884105
+SHA1 (patch-ab) = 36796ec55c775883d4ea367a66d42b78004d5411
SHA1 (patch-ac) = 9f196ba3c236629c6ed1b59842fb6de2716917a6
SHA1 (patch-ad) = 4a6421d7256498df6293011bafc76e75cc5512e6
SHA1 (patch-ae) = 29b0cde6353c257a01a1630981f229c6673bbe73
diff --git a/comms/plp/patches/patch-ab b/comms/plp/patches/patch-ab
index f5937e84843..6742694bfc7 100644
--- a/comms/plp/patches/patch-ab
+++ b/comms/plp/patches/patch-ab
@@ -1,8 +1,20 @@
-$NetBSD: patch-ab,v 1.5 2005/12/23 16:10:05 joerg Exp $
+$NetBSD: patch-ab,v 1.6 2015/11/07 23:43:56 dholland Exp $
+
+- Use standard headers.
+- Use termios, not termio.
--- ncp/mp_serial.c.orig 1999-11-02 20:47:06.000000000 +0000
+++ ncp/mp_serial.c
-@@ -37,9 +37,7 @@
+@@ -30,16 +30,14 @@
+ #include <unistd.h> /* for usleep() */
+ #include <string.h> /* for bzero() */
+ #include <termios.h>
+-#if defined(linux) || defined(_IBMR2) || defined(__NetBSD__)
++#if defined(linux) || defined(_IBMR2) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__Bitrig__)
+ # include <sys/ioctl.h> /* for ioctl() */
+ #endif
+-#include <sys/errno.h>
++#include <errno.h>
#ifdef sun
# include <sys/ttold.h> /* sun has TIOCEXCL there */
#endif