diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-25 21:35:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-25 21:35:55 +0000 |
commit | c46405f3c8a90e50e1610984678e8b219c8abeef (patch) | |
tree | 825eab112bed41e4545f5deed73f50e2dba92813 /devel | |
parent | a438b87c86fd43a11743a0476883161b465fe047 (diff) | |
download | pkgsrc-c46405f3c8a90e50e1610984678e8b219c8abeef.tar.gz |
Only include stropts.h for Solaris, it is streams related and seems to
be only needed for ioctl. Include util.h on NetBSD and OpenBSD for
openpty.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ProjectCenter/distinfo | 3 | ||||
-rw-r--r-- | devel/ProjectCenter/patches/patch-Modules_Debuggers_ProjectCenter_PTYView.m | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/devel/ProjectCenter/distinfo b/devel/ProjectCenter/distinfo index 4c7189be445..900f6c8f997 100644 --- a/devel/ProjectCenter/distinfo +++ b/devel/ProjectCenter/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2011/04/07 02:23:06 rh Exp $ +$NetBSD: distinfo,v 1.10 2011/11/25 21:35:55 joerg Exp $ SHA1 (ProjectCenter-0.6.0.tar.gz) = 13aec7d91b0c0b4b46c37c7581a84a1a1e984414 RMD160 (ProjectCenter-0.6.0.tar.gz) = 83c25345d10896b865b038e8b3578ca86696dd2a Size (ProjectCenter-0.6.0.tar.gz) = 498146 bytes +SHA1 (patch-Modules_Debuggers_ProjectCenter_PTYView.m) = c791dc5524c7d7dbbadeb1c55b617a8a4a52ebd3 diff --git a/devel/ProjectCenter/patches/patch-Modules_Debuggers_ProjectCenter_PTYView.m b/devel/ProjectCenter/patches/patch-Modules_Debuggers_ProjectCenter_PTYView.m new file mode 100644 index 00000000000..0c785419fb9 --- /dev/null +++ b/devel/ProjectCenter/patches/patch-Modules_Debuggers_ProjectCenter_PTYView.m @@ -0,0 +1,30 @@ +$NetBSD: patch-Modules_Debuggers_ProjectCenter_PTYView.m,v 1.1 2011/11/25 21:35:55 joerg Exp $ + +--- Modules/Debuggers/ProjectCenter/PTYView.m.orig 2009-01-02 17:51:00.000000000 +0000 ++++ Modules/Debuggers/ProjectCenter/PTYView.m +@@ -34,10 +34,6 @@ + #import <stdlib.h> + #import <string.h> + +-#if !defined(__OpenBSD__) +-#import <stropts.h> +-#endif +- + #ifndef NOTIFICATION_CENTER + #define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter] + #endif +@@ -48,6 +44,14 @@ + #define USE_FORKPTY_REPLACEMENT 1 + #endif + ++#ifdef __SOLARIS__ ++#import <stropts.h> ++#endif ++ ++#if defined (__NetBSD__) || defined (__OpenBSD__) ++# include <util.h> ++#endif ++ + #if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined (__OpenBSD__)) + # include <pty.h> + #endif |