From f303a636cbb4c0ba083445674691641cd426c1d2 Mon Sep 17 00:00:00 2001 From: John Marino Date: Wed, 5 Feb 2014 23:05:52 +0000 Subject: [PATCH] devel/projectcenter: Add dragonflybsd support --- devel/projectcenter/Makefile | 2 +- ...-Modules_Debuggers_ProjectCenter_PTYView.m | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 devel/projectcenter/files/patch-Modules_Debuggers_ProjectCenter_PTYView.m diff --git a/devel/projectcenter/Makefile b/devel/projectcenter/Makefile index 25f2d4a3b3f2..a320e3b0065e 100644 --- a/devel/projectcenter/Makefile +++ b/devel/projectcenter/Makefile @@ -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 diff --git a/devel/projectcenter/files/patch-Modules_Debuggers_ProjectCenter_PTYView.m b/devel/projectcenter/files/patch-Modules_Debuggers_ProjectCenter_PTYView.m new file mode 100644 index 000000000000..f5f00a540ae3 --- /dev/null +++ b/devel/projectcenter/files/patch-Modules_Debuggers_ProjectCenter_PTYView.m @@ -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 + #include + +-#if defined (__FreeBSD__) ++#if defined (__FreeBSD__) || defined (__DragonFly__) + #include + #include + #include +@@ -42,7 +42,8 @@ + #include + #include + +-#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !(defined (__NetBSD__)) ++#if !defined(__OpenBSD__) && !defined(__FreeBSD__) \ ++ && !defined (__NetBSD__) && !defined(__DragonFly__) + #include + #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 + #endif +