aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rote
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-09 21:49:11 +0800
committergarga <garga@FreeBSD.org>2005-09-09 21:49:11 +0800
commit50ad8ff64c46889dc19b2ba947b2b71b6151fcf2 (patch)
treed17308fedcc0d16cbae84cb6bbc7a9e1fde8f779 /devel/rote
parentecff6bf8668946344525c6c90e40f582e89d1c7a (diff)
downloadfreebsd-ports-gnome-50ad8ff64c46889dc19b2ba947b2b71b6151fcf2.tar.gz
freebsd-ports-gnome-50ad8ff64c46889dc19b2ba947b2b71b6151fcf2.tar.zst
freebsd-ports-gnome-50ad8ff64c46889dc19b2ba947b2b71b6151fcf2.zip
- Fix build on 4.x
PR: ports/83573 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer timeout (7 weeks) Pointed by: pointyhat
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;