1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

devel/projectcenter: Add dragonflybsd support

This commit is contained in:
John Marino 2014-02-05 23:05:52 +00:00
parent aab3822229
commit f303a636cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342888
2 changed files with 33 additions and 1 deletions

View File

@ -9,7 +9,7 @@ MASTER_SITE_SUBDIR= dev-apps
DISTNAME= ProjectCenter-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A development environment for GNUstep
COMMENT= Development environment for GNUstep
LICENSE= GPLv2

View File

@ -0,0 +1,32 @@
--- Modules/Debuggers/ProjectCenter/PTYView.m.orig 2012-04-20 08:35:30.000000000 +0000
+++ Modules/Debuggers/ProjectCenter/PTYView.m
@@ -30,7 +30,7 @@
#include <fcntl.h>
#include <sys/types.h>
-#if defined (__FreeBSD__)
+#if defined (__FreeBSD__) || defined (__DragonFly__)
#include <sys/ioctl.h>
#include <termios.h>
#include <libutil.h>
@@ -42,7 +42,8 @@
#include <stdlib.h>
#include <string.h>
-#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !(defined (__NetBSD__))
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) \
+ && !defined (__NetBSD__) && !defined(__DragonFly__)
#include <stropts.h>
#endif
@@ -56,7 +57,9 @@
#define USE_FORKPTY_REPLACEMENT 1
#endif
-#if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined (__OpenBSD__)) && !(defined(__FreeBSD__))
+#if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) \
+ && !(defined (__OpenBSD__)) && !(defined(__FreeBSD__)) \
+ && !defined(__DragonFly__)
# include <pty.h>
#endif