Opened 20 years ago

Closed 19 years ago

#1836 closed defect (fixed)

BUG: aalib build fail (malloc.h file not found)

Reported by: devin@… Owned by: tim@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Using Mac OS X 10.2.8 I ran into a bug were aalib tries to include <malloc.h> which is incorrect since that file doesn't exists and sys/malloc.h is not needed to include since malloc is already included in the system headers. So I attached a patch that will add a dummy malloc.h file for CPP to find that doesn't do anything. This compiled.

Attachments (1)

aalib.diff (953 bytes) - added by devin@… 20 years ago.
Patch to fix malloc.h missing on 10.2.8

Download all attachments as: .zip

Change History (5)

Changed 20 years ago by devin@…

Attachment: aalib.diff added

Patch to fix malloc.h missing on 10.2.8

comment:1 Changed 20 years ago by blb@…

Owner: changed from darwinports-bugs@… to tim@…

Assigning to port maintainer.

comment:2 Changed 20 years ago by leimy@…

why not just delete malloc.h and use stdlib.h where the malloc function is properly protyped anyway?

comment:3 Changed 19 years ago by snu@…

Summary: aalib build fail (malloc.h file not found)BUG: aalib build fail (malloc.h file not found)

comment:4 Changed 19 years ago by tim@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.