Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,17 +1,15 @@
$NetBSD: patch-Modules_Debuggers_ProjectCenter_PTYView.m,v 1.2 2012/10/22 03:03:23 rh Exp $
$NetBSD: patch-Modules_Debuggers_ProjectCenter_PTYView.m,v 1.3 2014/11/23 13:17:17 mef Exp $
Include util.h when compiling for NetBSD and OpenBSD.
--- Modules/Debuggers/ProjectCenter/PTYView.m.orig 2012-04-20 08:35:30.000000000 +0000
+++ Modules/Debuggers/ProjectCenter/PTYView.m
@@ -46,6 +46,10 @@
#include <stropts.h>
#endif
+#if defined (__NetBSD__) || defined (__OpenBSD__)
+# include <util.h>
+#endif
+
#ifndef NOTIFICATION_CENTER
#define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]
--- Modules/Debuggers/ProjectCenter/PTYView.m.orig 2013-02-09 23:42:13.000000000 +0900
+++ Modules/Debuggers/ProjectCenter/PTYView.m 2014-11-23 22:02:42.000000000 +0900
@@ -37,6 +37,8 @@
#elif defined (__OpenBSD__)
#include <termios.h>
#include <util.h>
+#elif defined (__NetBSD__)
+#include <util.h>
#else
#include <sys/termios.h>
#endif