aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-06 06:51:16 +0800
committermarino <marino@FreeBSD.org>2014-02-06 06:51:16 +0800
commit4ff57053e14bc9a1b50332ea2733a8610868fd2a (patch)
tree7017449f0f2dd0df96b1db1626c4c59d6d8bfb5f /editors
parent049eb1dcaca4984fb29550cbac274425d86dbbc4 (diff)
downloadfreebsd-ports-graphics-4ff57053e14bc9a1b50332ea2733a8610868fd2a.tar.gz
freebsd-ports-graphics-4ff57053e14bc9a1b50332ea2733a8610868fd2a.tar.zst
freebsd-ports-graphics-4ff57053e14bc9a1b50332ea2733a8610868fd2a.zip
editor/cooledit: Add dragonfly support
Diffstat (limited to 'editors')
-rw-r--r--editors/cooledit/files/patch-rxvt::_rxvtlib.h2
-rw-r--r--editors/cooledit/files/patch-rxvt_rxvtlib__command.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/editors/cooledit/files/patch-rxvt::_rxvtlib.h b/editors/cooledit/files/patch-rxvt::_rxvtlib.h
index c5d8a577e5b..a3965c22ed9 100644
--- a/editors/cooledit/files/patch-rxvt::_rxvtlib.h
+++ b/editors/cooledit/files/patch-rxvt::_rxvtlib.h
@@ -5,7 +5,7 @@
# include <grp.h>
#endif
-#ifdef PTYS_ARE_PTMX
-+#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__)
++#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__) && !defined(__DragonFly__)
# include <sys/resource.h> /* for struct rlimit */
# include <sys/stropts.h> /* for I_PUSH */
#endif
diff --git a/editors/cooledit/files/patch-rxvt_rxvtlib__command.c b/editors/cooledit/files/patch-rxvt_rxvtlib__command.c
new file mode 100644
index 00000000000..539f6adb160
--- /dev/null
+++ b/editors/cooledit/files/patch-rxvt_rxvtlib__command.c
@@ -0,0 +1,11 @@
+--- rxvt/rxvtlib_command.c.orig 2005-04-04 20:47:45.000000000 +0000
++++ rxvt/rxvtlib_command.c
+@@ -385,7 +385,7 @@ int rxvtlib_get_tty (rxvtlib
+ o->killed = EXIT_FAILURE | DO_EXIT;
+ return -1;
+ }
+-#ifdef PTYS_ARE_PTMX
++#if defined(PTYS_ARE_PTMX) && !defined(__DragonFly__)
+ /*
+ * Push STREAMS modules:
+ * ptem: pseudo-terminal hardware emulation module.