After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314375 - gcalctool includes malloc.h
gcalctool includes malloc.h
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.5.x
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2005-08-24 12:12 UTC by Diego Elio Pettenò
Modified: 2005-08-24 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gcalctool-5.5.42-malloc.patch (380 bytes, patch)
2005-08-24 12:13 UTC, Diego Elio Pettenò
none Details | Review

Description Diego Elio Pettenò 2005-08-24 12:12:58 UTC
Please describe the problem:
gcalctool includes malloc.h header that does output error on FreeBSD systems. 
Instead of using malloc.h, it should include stdlib.h directly. 
The attached patch fixes the problem and allows it to build fine on 
Gentoo/FreeBSD. 
 
Thanks, 
Diego 

Steps to reproduce:
 

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Diego Elio Pettenò 2005-08-24 12:13:29 UTC
Created attachment 51250 [details] [review]
gcalctool-5.5.42-malloc.patch
Comment 2 Rich Burridge 2005-08-24 15:13:31 UTC
Thanks Diego. Change checked into CVS HEAD. Version number
in configure.in bumped to 5.6.29. I'll generate a new
tarball with the next GNOME 2.12 call for tarballs.