From tom@discordia.uffner.com  Sat Mar  9 15:20:46 2002
Return-Path: <tom@discordia.uffner.com>
Received: from discordia.uffner.com (216-158-43-107.wlm.dca.net [216.158.43.107])
	by hub.freebsd.org (Postfix) with ESMTP id 7EA9E37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Mar 2002 15:20:45 -0800 (PST)
Received: from discordia.uffner.com (localhost [127.0.0.1])
	by discordia.uffner.com (8.12.2/8.12.2) with ESMTP id g29NKiN0001182
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 9 Mar 2002 18:20:44 -0500 (EST)
	(envelope-from tom@discordia.uffner.com)
Received: (from tom@localhost)
	by discordia.uffner.com (8.12.2/8.12.2/Submit) id g29NKiPE001181;
	Sat, 9 Mar 2002 18:20:44 -0500 (EST)
Message-Id: <200203092320.g29NKiPE001181@discordia.uffner.com>
Date: Sat, 9 Mar 2002 18:20:44 -0500 (EST)
From: tom <tom@discordia.uffner.com>
Reply-To: tom <tom@discordia.uffner.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports/misc/astrolog doesn't compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35716
>Category:       ports
>Synopsis:       ports/misc/astrolog doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 15:30:00 PST 2002
>Closed-Date:    Sun Mar 10 13:03:09 PST 2002
>Last-Modified:  Sun Mar 10 13:03:53 PST 2002
>Originator:     tom
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
POEE
>Environment:
System: FreeBSD discordia.uffner.com 5.0-CURRENT FreeBSD 5.0-CURRENT #91: Sat Mar 9 08:15:32 EST 2002 root@discordia.uffner.com:/usr/obj/usr/src/sys/DISCORDIA i386


>Description:
[discordia#:/usr/ports/misc/astrolog:ttyp1] make
===>  Building for astrolog-5.40_1
cc -O -pipe -march=pentiumpro -I/usr/X11R6/include -DDEFAULT_DIR=\"/usr/local/lib/astrolog\" -c placalc.c
In file included from placalc.h:126,
                 from placalc.c:38:
/usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>"
*** Error code 1

Stop in /usr/ports/misc/astrolog/work.
*** Error code 1

Stop in /usr/ports/misc/astrolog.
*** Error code 1

Stop in /usr/ports/misc/astrolog.
*** Error code 1

Stop in /usr/ports/misc/astrolog.

>How-To-Repeat:
cd /usr/ports/misc/astrolog
make
>Fix:

apply the following patch:

*** placalc.h.orig      Sat Mar  9 18:10:35 2002
--- placalc.h   Sat Mar  9 18:10:59 2002
***************
*** 123,129 ****
  #if HPUNIX
  #ifndef MAC
  #ifndef NeXT
! #include <malloc.h>
  #endif
  #endif /* MAC */
  typedef double  REAL8;  /* real with at least 64 bit precision */
--- 123,129 ----
  #if HPUNIX
  #ifndef MAC
  #ifndef NeXT
! #include <stdlib.h>
  #endif
  #endif /* MAC */
  typedef double  REAL8;  /* real with at least 64 bit precision */



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->ache 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Sat Mar 9 19:47:04 PST 2002 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35716 
State-Changed-From-To: open->feedback 
State-Changed-By: ache 
State-Changed-When: Sun Mar 10 07:12:39 PST 2002 
State-Changed-Why:  
Can't reproduce it. It seems post-patch: target from port Makefile which 
replace malloc.h with stdlib.h somehow not running in your case. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35716 
State-Changed-From-To: feedback->closed 
State-Changed-By: ache 
State-Changed-When: Sun Mar 10 13:03:09 PST 2002 
State-Changed-Why:  
No error in the port 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35716 
>Unformatted:
