Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435034 - sys-libs/suacomp-0.6.14 does not compile on SUA 6.0
Summary: sys-libs/suacomp-0.6.14 does not compile on SUA 6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 15:11 UTC by David Holm
Modified: 2012-09-29 13:02 UTC (History)
0 users

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


Attachments
Patches suacomp to work with C99 prototypes (suacomp-0.6.14-sua6.0.patch,1.38 KB, text/plain)
2012-09-14 19:11 UTC, David Holm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Holm 2012-09-14 15:11:28 UTC
suacomp 0.6.14 will not compile on SUA 6.0 because it includes implementations of strtoll.c and strtoull.c which are already defined in stdlib.h. The define itself will cause the prototypes to not even be valid C and the build fails.

I have submitted a patch upstream which also works well with epatch.
https://sourceforge.net/p/suacomp/tickets/1/

Reproducible: Always
Comment 1 David Holm 2012-09-14 16:16:53 UTC
My patch turned out to be a bad idea. I'll find another fix for it.
Comment 2 David Holm 2012-09-14 19:11:19 UTC
Created attachment 323798 [details]
Patches suacomp to work with C99 prototypes
Comment 3 Fabian Groffen gentoo-dev 2012-09-29 13:02:41 UTC
Added your patch with a conditional, because I know know if quad is available on older interixes.  Thanks.