Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 18:20:44 -0500 (EST)
From:      tom <tom@discordia.uffner.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35716: ports/misc/astrolog doesn't compile
Message-ID:  <200203092320.g29NKiPE001181@discordia.uffner.com>

next in thread | raw e-mail | index | archive | help

>Number:         35716
>Category:       ports
>Synopsis:       ports/misc/astrolog doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 15:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203092320.g29NKiPE001181>