aboutsummaryrefslogtreecommitdiff
path: root/devel/rote
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-09 13:49:11 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-09 13:49:11 +0000
commit3391e71425a22986f19a96c2161fcca30bb3bb0c (patch)
treeb94f8967eaa30e11b8d2a627c9c145ba584fb246 /devel/rote
parent11b8f27c2241d7b2c131f12dabc34a28a6d1126b (diff)
downloadports-3391e71425a22986f19a96c2161fcca30bb3bb0c.tar.gz
ports-3391e71425a22986f19a96c2161fcca30bb3bb0c.zip
Notes
Diffstat (limited to 'devel/rote')
-rw-r--r--devel/rote/files/patch-inject.c10
-rw-r--r--devel/rote/files/patch-inject_csi.c10
-rw-r--r--devel/rote/files/patch-rote.c19
3 files changed, 36 insertions, 3 deletions
diff --git a/devel/rote/files/patch-inject.c b/devel/rote/files/patch-inject.c
new file mode 100644
index 000000000000..8cb8842a4596
--- /dev/null
+++ b/devel/rote/files/patch-inject.c
@@ -0,0 +1,10 @@
+--- inject.c.orig Sat Jul 16 18:25:27 2005
++++ inject.c Sat Jul 16 18:25:47 2005
+@@ -23,6 +23,7 @@
+ #include "roteprivate.h"
+ #include "inject_csi.h"
+ #include <string.h>
++#include <stdbool.h>
+
+ static void cursor_line_down(RoteTerm *rt) {
+ int i;
diff --git a/devel/rote/files/patch-inject_csi.c b/devel/rote/files/patch-inject_csi.c
new file mode 100644
index 000000000000..0f097e9a5abd
--- /dev/null
+++ b/devel/rote/files/patch-inject_csi.c
@@ -0,0 +1,10 @@
+--- inject_csi.c.orig Sat Jul 16 18:26:31 2005
++++ inject_csi.c Sat Jul 16 18:26:50 2005
+@@ -23,6 +23,7 @@
+ #include "roteprivate.h"
+ #include <stdlib.h>
+ #include <string.h>
++#include <stdbool.h>
+
+ #define MAX_CSI_ES_PARAMS 32
+
diff --git a/devel/rote/files/patch-rote.c b/devel/rote/files/patch-rote.c
index 5256da180776..64cf7397facd 100644
--- a/devel/rote/files/patch-rote.c
+++ b/devel/rote/files/patch-rote.c
@@ -1,6 +1,6 @@
---- rote.c.orig Wed Oct 6 19:18:49 2004
-+++ rote.c Fri Jun 10 11:57:27 2005
-@@ -21,8 +21,11 @@
+--- rote.c.orig Wed Oct 6 09:18:49 2004
++++ rote.c Sat Jul 16 18:28:22 2005
+@@ -21,10 +21,15 @@
#include "rote.h"
#include "roteprivate.h"
@@ -12,4 +12,17 @@
-#include <pty.h>
#include <stdio.h>
#include <string.h>
++#include <stdbool.h>
++#include <sys/time.h>
+ RoteTerm *rote_vt_create(int rows, int cols) {
+ RoteTerm *rt;
+@@ -53,7 +58,7 @@
+ }
+
+ /* allocate dirtiness array */
+- rt->line_dirty = (bool*) malloc(sizeof(bool) * rt->rows);
++ rt->line_dirty = malloc(sizeof(bool) * rt->rows);
+
+ /* initialization of other public fields */
+ rt->crow = rt->ccol = 0;