diff options
author | John Marino <marino@FreeBSD.org> | 2014-02-05 22:51:16 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-02-05 22:51:16 +0000 |
commit | f10e5831a8eb6cb566f2c54caa06d8a93fd17c75 (patch) | |
tree | 7017449f0f2dd0df96b1db1626c4c59d6d8bfb5f /editors/cooledit | |
parent | ea9c06e44447fdc271a73c4ed11443cbae1d2441 (diff) | |
download | ports-f10e5831a8eb6cb566f2c54caa06d8a93fd17c75.tar.gz ports-f10e5831a8eb6cb566f2c54caa06d8a93fd17c75.zip |
editor/cooledit: Add dragonfly support
Notes
Notes:
svn path=/head/; revision=342882
Diffstat (limited to 'editors/cooledit')
-rw-r--r-- | editors/cooledit/files/patch-rxvt::_rxvtlib.h | 2 | ||||
-rw-r--r-- | editors/cooledit/files/patch-rxvt_rxvtlib__command.c | 11 |
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 c5d8a577e5b9..a3965c22ed91 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 000000000000..539f6adb1608 --- /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. |