summaryrefslogtreecommitdiff
path: root/math/calctool/files/patch-tty.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 11:00:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 11:00:32 +0000
commit3cfef80e56979634e21dc7670ab9c381e6d2a46c (patch)
treeb13213d326e5852d2f7c415f2d1607c40d3f94f0 /math/calctool/files/patch-tty.c
parentFix build with clang (diff)
Fix build with clang
Diffstat (limited to 'math/calctool/files/patch-tty.c')
-rw-r--r--math/calctool/files/patch-tty.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/math/calctool/files/patch-tty.c b/math/calctool/files/patch-tty.c
index 54c9920a8c90..3ca66993a29f 100644
--- a/math/calctool/files/patch-tty.c
+++ b/math/calctool/files/patch-tty.c
@@ -1,5 +1,5 @@
---- tty.c.orig 2008-06-14 18:05:30.000000000 +0400
-+++ tty.c 2008-06-14 18:08:25.000000000 +0400
+--- ./tty.c.orig 1990-02-06 05:47:47.000000000 +0100
++++ ./tty.c 2012-08-24 12:55:15.782915559 +0200
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <strings.h>
@@ -26,7 +26,15 @@
exit(0) ;
}
-@@ -315,11 +316,14 @@
+@@ -128,6 +129,7 @@
+ }
+
+
++void
+ drawline(x1, y1, x2, y2)
+ int x1, y1, x2, y2 ;
+ {
+@@ -315,11 +317,14 @@
SIGNAL(SIGINT, cleanup) ;