ports/143063: [MAINTAINER] [PATCH] editors/texmacs Fix build without utmp.h
Rob Farmer
rfarmer at predatorlabs.net
Thu Jan 21 19:50:07 UTC 2010
>Number: 143063
>Category: ports
>Synopsis: [MAINTAINER] [PATCH] editors/texmacs Fix build without utmp.h
>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: Thu Jan 21 19:50:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD pentium4.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r202659: Tue Jan 19 16:02:39 PST 2010 rfarmer at pentium4.predatorlabs.net:/obj/usr/src/sys/PENTIUM4 i386
>Description:
Remove include of utmp.h as it doesn't seem to be used by anything
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN texmacs.old/files/patch-plugins__r__src__tm_r.c texmacs/files/patch-plugins__r__src__tm_r.c
--- texmacs.old/files/patch-plugins__r__src__tm_r.c 2010-01-20 22:33:03.000000000 -0800
+++ texmacs/files/patch-plugins__r__src__tm_r.c 2010-01-20 22:49:54.000000000 -0800
@@ -1,6 +1,6 @@
---- plugins/r/src/tm_r.c.orig 2010-01-05 12:02:13.000000000 -0800
-+++ plugins/r/src/tm_r.c 2010-01-05 12:06:43.000000000 -0800
-@@ -11,10 +11,15 @@
+--- plugins/r/src/tm_r.c.orig 2009-11-26 10:55:09.000000000 -0800
++++ plugins/r/src/tm_r.c 2010-01-20 22:48:57.000000000 -0800
+@@ -11,11 +11,15 @@
#include "config.h"
#include <stdio.h>
@@ -12,11 +12,12 @@
#if HAVE_PTY_H
#include <pty.h>
#endif
+-#include <utmp.h>
+#endif
- #include <utmp.h>
#include <unistd.h>
#include <termios.h>
-@@ -23,7 +28,6 @@
+ #include <stdlib.h>
+@@ -23,7 +27,6 @@
#include <string.h>
@@ -24,7 +25,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
-@@ -469,7 +473,11 @@
+@@ -469,7 +472,11 @@
#endif
/* Main pselect switch --------------- */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list