pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pconsole fix build on SunOS by including termios.h



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85ec686356ba
branches:  trunk
changeset: 364652:85ec686356ba
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Mon Jul 03 11:55:30 2017 +0000

description:
fix build on SunOS by including termios.h

diffstat:

 net/pconsole/Makefile                 |   4 ++--
 net/pconsole/distinfo                 |   3 ++-
 net/pconsole/patches/patch-pconsole.c |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 18f11101714a -r 85ec686356ba net/pconsole/Makefile
--- a/net/pconsole/Makefile     Mon Jul 03 11:54:52 2017 +0000
+++ b/net/pconsole/Makefile     Mon Jul 03 11:55:30 2017 +0000
@@ -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 -r 18f11101714a -r 85ec686356ba net/pconsole/distinfo
--- a/net/pconsole/distinfo     Mon Jul 03 11:54:52 2017 +0000
+++ b/net/pconsole/distinfo     Mon Jul 03 11:55:30 2017 +0000
@@ -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 -r 18f11101714a -r 85ec686356ba net/pconsole/patches/patch-pconsole.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pconsole/patches/patch-pconsole.c     Mon Jul 03 11:55:30 2017 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index