ports/83573: Update port: devel/rote fix build on 4.x pointed by pointyhat
Marcus Grando
marcus at corp.grupos.com.br
Sat Jul 16 21:40:20 UTC 2005
>Number: 83573
>Category: ports
>Synopsis: Update port: devel/rote fix build on 4.x pointed by pointyhat
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 16 21:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Jul 11 10:07:29 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
- Fix build on 4.x pointed by pointyhat
- Update files/patch-rote.c
Add files:
files/patch-inject.c
files/patch-inject_csi.c
>How-To-Repeat:
>Fix:
--- rote.patch begins here ---
diff -ruN rote.orig/files/patch-inject.c rote/files/patch-inject.c
--- rote.orig/files/patch-inject.c Wed Dec 31 21:00:00 1969
+++ rote/files/patch-inject.c Sat Jul 16 18:26:07 2005
@@ -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 -ruN rote.orig/files/patch-inject_csi.c rote/files/patch-inject_csi.c
--- rote.orig/files/patch-inject_csi.c Wed Dec 31 21:00:00 1969
+++ rote/files/patch-inject_csi.c Sat Jul 16 18:27:15 2005
@@ -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 -ruN rote.orig/files/patch-rote.c rote/files/patch-rote.c
--- rote.orig/files/patch-rote.c Fri Jun 10 02:07:21 2005
+++ rote/files/patch-rote.c Sat Jul 16 18:28:44 2005
@@ -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;
--- rote.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list