Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84828 - mpack fails to build. malloc prototype definition clash
Summary: mpack fails to build. malloc prototype definition clash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 01:58 UTC by Clemens Fruhwirth
Modified: 2005-04-12 16:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes for malloc prototypes and mkstemp (mpack.diff,824 bytes, patch)
2005-03-11 01:59 UTC, Clemens Fruhwirth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Fruhwirth 2005-03-11 01:58:45 UTC
cc -O3 -mtune=pentium4 -funroll-loops -fomit-frame-pointer   -c -o unixos.o unixos.c
unixos.c:40: error: conflicting types for 'malloc'

same for xmalloc.
patch attached.

patch also changes mktemp to mkstemp in unixpk.c
Comment 1 Clemens Fruhwirth 2005-03-11 01:59:31 UTC
Created attachment 53162 [details, diff]
fixes for malloc prototypes and mkstemp
Comment 2 steveb 2005-03-15 18:15:18 UTC
I can confirm that the patch solves my compile problem with gcc 3.4.3-20050110 and mpack.
Comment 3 steveb 2005-04-12 15:59:11 UTC
What is holding this patch to flow into portage? Can I somehow help to get this patch faster into portage? Let me know.
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-04-12 16:05:02 UTC
I'll take care of this tonight. Sorry it took so long, this is actually the first time I noticed this bug - somehow it slipped under my radar.
Comment 5 steveb 2005-04-12 16:13:30 UTC
@Andrej: No problem. We all are humans. ;)

If I can help somehow, just let me know.

cheers

SteveB
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-04-12 16:19:21 UTC
In CVS, should hit mirrors in few hours. Thanks for the patch!