Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-Plugin_wxterminal.cpp,v 1.1 2016/06/15 22:04:17 kamil Exp $
Add switch for NetBSD to not fall under "other OS".
--- Plugin/wxterminal.cpp.orig 2016-01-30 10:49:18.000000000 +0000
+++ Plugin/wxterminal.cpp
@@ -39,7 +39,7 @@
#define SHELL_WRAPPER wxT("")
#else
-#if defined(__WXMAC__) || defined(__FreeBSD__)
+#if defined(__WXMAC__) || defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/wait.h>
#else
#include <wait.h>
@@ -55,6 +55,10 @@
#include <sys/ioctl.h>
#include <termios.h>
#include <libutil.h>
+#elif defined(__NetBSD__)
+#include <sys/ioctl.h>
+#include <termios.h>
+#include <util.h>
#else
#include <pty.h>
#endif