summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-07-03 11:55:30 +0000
committerwiedi <wiedi@pkgsrc.org>2017-07-03 11:55:30 +0000
commit0f2dcf7986abbc872183474b44f3d1600aaa8b74 (patch)
tree22ee40f48c1c695aed26c94e48df6207c2ea6d6d /net
parentad548513baf8e3d4055858f2c7bfeb76c42bd892 (diff)
downloadpkgsrc-0f2dcf7986abbc872183474b44f3d1600aaa8b74.tar.gz
fix build on SunOS by including termios.h
Diffstat (limited to 'net')
-rw-r--r--net/pconsole/Makefile4
-rw-r--r--net/pconsole/distinfo3
-rw-r--r--net/pconsole/patches/patch-pconsole.c16
3 files changed, 20 insertions, 3 deletions
diff --git a/net/pconsole/Makefile b/net/pconsole/Makefile
index 85912be16e4..90db83b7a9b 100644
--- a/net/pconsole/Makefile
+++ b/net/pconsole/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2015/07/04 16:18:38 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2017/07/03 11:55:30 wiedi Exp $
#
DISTNAME= pconsole-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.heiho.net/pconsole/
diff --git a/net/pconsole/distinfo b/net/pconsole/distinfo
index 338e46c634c..58c51b32142 100644
--- a/net/pconsole/distinfo
+++ b/net/pconsole/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:26 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/07/03 11:55:30 wiedi Exp $
SHA1 (pconsole-1.0.tar.gz) = 5c841e90548263671b6903a31cde6101154a20a3
RMD160 (pconsole-1.0.tar.gz) = 64545616d8a5b0e312e8d33976268de6c64318b1
SHA512 (pconsole-1.0.tar.gz) = b03f189e4030a417bbe1ee19dc55f5149581b084d89edecdf857916d66c0e235f1b4bfecf6a198f865ad187d7630b0c266940eafadd576e829d20366dc9cc248
Size (pconsole-1.0.tar.gz) = 215426 bytes
SHA1 (patch-aa) = cb41fdc2ee8ab817a39002d604100affb9fa2832
+SHA1 (patch-pconsole.c) = 0b7ee80097da74ffecdf6b99614b5bdc96ac102d
diff --git a/net/pconsole/patches/patch-pconsole.c b/net/pconsole/patches/patch-pconsole.c
new file mode 100644
index 00000000000..8636e26b3a1
--- /dev/null
+++ b/net/pconsole/patches/patch-pconsole.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-pconsole.c,v 1.1 2017/07/03 11:55:30 wiedi Exp $
+
+need termios.h for TIOCSTI on SunOS
+--- pconsole.c.orig 2001-04-09 08:51:49.000000000 +0000
++++ pconsole.c
+@@ -38,6 +38,10 @@
+ #include <sys/ioctl.h>
+ #endif
+
++#if defined(__sun)
++#include <sys/termios.h>
++#endif
++
+ #define KEY_CTRL(x) ((x) - 'A' + 1)
+
+ int flags = FLAGS_ECHO;