From lizard@informatik.unibw-muenchen.de  Fri May 10 14:00:36 2002
Return-Path: <lizard@informatik.unibw-muenchen.de>
Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0377237B404; Fri, 10 May 2002 14:00:35 -0700 (PDT)
Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30])
	by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g4AKsSt01561;
	Fri, 10 May 2002 22:54:28 +0200 (MEST)
Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1])
	by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP
	id D353F5A548; Fri, 10 May 2002 22:54:26 +0200 (CEST)
Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001)
	id 9DAD05A547; Fri, 10 May 2002 22:54:25 +0200 (CEST)
Message-Id: <20020510205425.9DAD05A547@nemesis.informatik.unibw-muenchen.de>
Date: Fri, 10 May 2002 22:54:25 +0200 (CEST)
From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc: dwcjr@freebsd.org
Subject: Fix build on -current editors/axe
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37938
>Category:       ports
>Synopsis:       Fix build on -current editors/axe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 10 14:10:01 PDT 2002
>Closed-Date:    Wed May 15 07:15:36 PDT 2002
>Last-Modified:  Wed May 15 07:15:36 PDT 2002
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

Added: files/patch-Help::axinfo.c
       files/patch-coaxe.c

bento reported build error on -current. A fix was already submitted in
PR ports/37671. But after fixing Help/axinfo.c the build fails with the same
problem on coaxe.c.

Regards,
         Olli
>How-To-Repeat:
>Fix:

diff -ruN axe.old/files/patch-Help::axinfo.c axe/files/patch-Help::axinfo.c
--- axe.old/files/patch-Help::axinfo.c	Thu Jan  1 00:00:00 1970
+++ axe/files/patch-Help::axinfo.c	Fri May 10 22:27:45 2002
@@ -0,0 +1,11 @@
+--- Help/axinfo.c.orig	Fri May 10 22:26:46 2002
++++ Help/axinfo.c	Fri May 10 22:27:13 2002
+@@ -45,7 +45,7 @@
+ #include <stdio.h>
+ 
+ extern char *getenv();
+-extern char *malloc(), *realloc();
++extern void *malloc(), *realloc();
+ 
+ #include "Confirmer.h"
+ #include "Hyper.h"
diff -ruN axe.old/files/patch-coaxe.c axe/files/patch-coaxe.c
--- axe.old/files/patch-coaxe.c	Thu Jan  1 00:00:00 1970
+++ axe/files/patch-coaxe.c	Fri May 10 22:29:18 2002
@@ -0,0 +1,11 @@
+--- coaxe.c.orig	Fri May 10 22:28:40 2002
++++ coaxe.c	Fri May 10 22:28:53 2002
+@@ -38,7 +38,7 @@
+ #endif
+ #include <stdio.h>
+ extern char *getenv();
+-extern char *malloc(), *realloc();
++extern void *malloc(), *realloc();
+ 
+ #include "util.h"
+ 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Wed May 15 07:15:25 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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