From estesm@estes.2y.net  Mon Mar  4 18:56:17 2002
Return-Path: <estesm@estes.2y.net>
Received: from estes.2y.net (ws609.fx.reshall.wwu.edu [63.229.43.164])
	by hub.freebsd.org (Postfix) with ESMTP id 983F337B402
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Mar 2002 18:56:16 -0800 (PST)
Received: from estes.2y.net (localhost [127.0.0.1])
	by estes.2y.net (8.12.2/8.12.2) with ESMTP id g252uE8D026956
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 4 Mar 2002 18:56:14 -0800 (PST)
	(envelope-from estesm@estes.2y.net)
Received: (from estesm@localhost)
	by estes.2y.net (8.12.2/8.12.2/Submit) id g252uDFs026955;
	Mon, 4 Mar 2002 18:56:13 -0800 (PST)
Message-Id: <200203050256.g252uDFs026955@estes.2y.net>
Date: Mon, 4 Mar 2002 18:56:13 -0800 (PST)
From: Michael J Estes <estesm@estes.2y.net>
Reply-To: Michael J Estes <estesm@bw.2y.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port editors/texmacs doesn't build on CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35549
>Category:       ports
>Synopsis:       new port editors/texmacs doesn't build on CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sada
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 04 19:00:01 PST 2002
>Closed-Date:    Sun Nov 24 05:54:45 PST 2002
>Last-Modified:  Sun Nov 24 05:54:45 PST 2002
>Originator:     Michael J Estes
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD estes.2y.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Fri Mar 1 12:07:05 PST 2002 root@estes.2y.net:/usr/obj/usr/src/sys/MIKE i386


	
>Description:
	new port editors/texmacs doesn't build on CURRENT
>How-To-Repeat:
	cd /usr/ports/editors/texmacs/ && make install clean
>Fix:
	1 malloc fix, and I'm not sure about some time_t re-definitions.  This will now build for me on -CURRENT.  NOT tested on stable

--- src/Convert/Connect/pipes.gen.cc.orig	Mon Mar  4 18:38:17 2002
+++ src/Convert/Connect/pipes.gen.cc	Mon Mar  4 18:31:56 2002
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <unistd.h>
 #include <signal.h>
-#include <malloc.h>
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/wait.h>
--- src/Window/display.gen.h.orig	Mon Mar  4 18:43:18 2002
+++ src/Window/display.gen.h	Mon Mar  4 18:43:26 2002
@@ -19,7 +19,7 @@
 
 #ifndef _TIME_T
 #define _TIME_T
-typedef long time_t;
+typedef int time_t;
 #endif
 
 class font;
--- src/Window/event.gen.h.orig	Mon Mar  4 18:44:29 2002
+++ src/Window/event.gen.h	Mon Mar  4 18:44:39 2002
@@ -19,7 +19,7 @@
 
 #ifndef _TIME_T
 #define _TIME_T
-typedef long time_t;
+typedef int time_t;
 #endif
 
 class window_rep;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->sada 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Mon May 20 19:41:21 PDT 2002 
Responsible-Changed-Why:  
sada takes pr/36496, which is a upgrade of texmacs 
so maybe he is also interested in this one 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35549 
State-Changed-From-To: open->closed 
State-Changed-By: sada 
State-Changed-When: Sun Nov 24 05:51:00 PST 2002 
State-Changed-Why:  
Committed with more patches. 
- remove definition of operator new/delete 
- remove default parameters from function definition 
- time_t should not be changed on -stable 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35549 
>Unformatted:
