diff options
author | marino <marino@FreeBSD.org> | 2014-02-06 06:40:08 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-02-06 06:40:08 +0800 |
commit | 52f6f656ce23c113c9a271801297cb11505791f3 (patch) | |
tree | bbb8cf8c25a13d7715772e035564b5fe5f099ff9 /editors | |
parent | 89e6ba96f57bdd6e62351375d886a725ec686b79 (diff) | |
download | freebsd-ports-gnome-52f6f656ce23c113c9a271801297cb11505791f3.tar.gz freebsd-ports-gnome-52f6f656ce23c113c9a271801297cb11505791f3.tar.zst freebsd-ports-gnome-52f6f656ce23c113c9a271801297cb11505791f3.zip |
editors/textedit: Add dragonfly support
Diffstat (limited to 'editors')
-rw-r--r-- | editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m b/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m new file mode 100644 index 000000000000..3cdcfb11ba16 --- /dev/null +++ b/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m @@ -0,0 +1,23 @@ +--- System/Applications/Terminal/TerminalView.m.orig 2010-05-23 11:43:45.000000000 +0000 ++++ System/Applications/Terminal/TerminalView.m +@@ -21,7 +21,7 @@ stupid but fast character cell display v + # include <termios.h> + # include <pcap.h> + #else +-#ifdef freebsd ++#if defined(freebsd) || defined(__DragonFly__) + # include <sys/types.h> + # include <sys/ioctl.h> + # include <termios.h> +@@ -37,9 +37,11 @@ stupid but fast character cell display v + #include <unistd.h> + #include <fcntl.h> + #ifndef freebsd ++# ifndef __DragonFly__ + #ifndef __NetBSD__ + # include <pty.h> + #endif ++# endif + #endif + + #include <Foundation/NSBundle.h> |