pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nqc Fix include for FIONREAD on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e58f57def96
branches:  trunk
changeset: 364840:9e58f57def96
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Wed Jul 05 20:23:39 2017 +0000

description:
Fix include for FIONREAD on SunOS

diffstat:

 devel/nqc/distinfo                                 |   3 ++-
 devel/nqc/patches/patch-platform_PSerial__unix.cpp |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 59f90c72ad70 -r 9e58f57def96 devel/nqc/distinfo
--- a/devel/nqc/distinfo        Wed Jul 05 20:12:42 2017 +0000
+++ b/devel/nqc/distinfo        Wed Jul 05 20:23:39 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 03:27:51 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/07/05 20:23:39 wiedi Exp $
 
 SHA1 (nqc-2.3.r1.tar.gz) = 40adcd87c12fc23c600899a6a704620ef2208488
 RMD160 (nqc-2.3.r1.tar.gz) = 2f7a435a99cb207814a8f357b701b1cc1fee2964
@@ -21,3 +21,4 @@
 SHA1 (patch-compiler_Stmt.h) = f011a9b77f8a5b660334746925748eddee43ea32
 SHA1 (patch-compiler_SwitchStmt.h) = 924861787d5b162aa006ab2dcc9ec2cd13079a55
 SHA1 (patch-nqc_CmdLine.h) = 608ebff1017d20e016637f2b71f51a32fe0b3c48
+SHA1 (patch-platform_PSerial__unix.cpp) = 151d1cd8e7070f3cf1d024c9c5fd89fa897c5eca
diff -r 59f90c72ad70 -r 9e58f57def96 devel/nqc/patches/patch-platform_PSerial__unix.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nqc/patches/patch-platform_PSerial__unix.cpp        Wed Jul 05 20:23:39 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-platform_PSerial__unix.cpp,v 1.1 2017/07/05 20:23:39 wiedi Exp $
+
+Adjust macro for all SunOS
+--- platform/PSerial_unix.cpp.orig     2001-04-16 00:56:29.000000000 +0000
++++ platform/PSerial_unix.cpp
+@@ -31,7 +31,7 @@
+ #include <termios.h>
+ 
+ // need another #include for Solaris - Richard Mitchell <gpsphoto%designprofessionals.com@localhost>
+-#ifdef SOLARIS
++#if defined(__sun)
+ #include <sys/filio.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index