aboutsummaryrefslogtreecommitdiffstats
path: root/editors/wily
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-01-31 20:07:24 +0800
committerlawrance <lawrance@FreeBSD.org>2006-01-31 20:07:24 +0800
commitc9c350db51573fb141079c1450fa6283141d9504 (patch)
tree76b9839958a21cd7967a2f7571009bae82705696 /editors/wily
parent35bdac2cb530964c5b877de9cca5225a2e9a8b40 (diff)
downloadfreebsd-ports-gnome-c9c350db51573fb141079c1450fa6283141d9504.tar.gz
freebsd-ports-gnome-c9c350db51573fb141079c1450fa6283141d9504.tar.zst
freebsd-ports-gnome-c9c350db51573fb141079c1450fa6283141d9504.zip
Fix build on 4.x.
Diffstat (limited to 'editors/wily')
-rw-r--r--editors/wily/files/patch-tools_win_win.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/wily/files/patch-tools_win_win.c b/editors/wily/files/patch-tools_win_win.c
new file mode 100644
index 000000000000..4ce3603bda6d
--- /dev/null
+++ b/editors/wily/files/patch-tools_win_win.c
@@ -0,0 +1,13 @@
+--- tools/win/win.c.orig Mon Dec 2 17:44:13 1996
++++ tools/win/win.c Tue Jan 31 22:19:30 2006
+@@ -680,10 +680,6 @@
+ /* e.g., on Digital UNIX or Solaris */
+
+ {
+- extern char *ptsname();
+- extern int grantpt();
+- extern int unlockpt();
+-
+ master = open("/dev/ptmx", O_RDWR);
+ if (master < 0) {
+ error("open() failed" here);