svn commit: r342880 - head/editors/textedit/files
John Marino
marino at FreeBSD.org
Wed Feb 5 22:40:08 UTC 2014
Author: marino
Date: Wed Feb 5 22:40:08 2014
New Revision: 342880
URL: http://svnweb.freebsd.org/changeset/ports/342880
QAT: https://qat.redports.org/buildarchive/r342880/
Log:
editors/textedit: Add dragonfly support
Added:
head/editors/textedit/files/
head/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m (contents, props changed)
Added: head/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/textedit/files/patch-System_Applications_Terminal_TerminalView.m Wed Feb 5 22:40:08 2014 (r342880)
@@ -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>
More information about the svn-ports-all
mailing list