| Summary: | Hexcurse doesn't compile with gcc 3.4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Aard Keimpema <a.keimpema> |
| Component: | Current packages | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
updated ebuild
Patch to fix compiltion for gcc 3.4 |
||
|
Description
Aard Keimpema
2004-08-09 03:41:26 UTC
The problem is caused by this code portion in getopt.c: -------------------- #ifdef _SGIAPI #include <alloca.h> #else char *alloca (); #endif ------------------- By simply removing the redefinition of alloca the problem is solved. I've attached a patch for this and an updated ebuild. I've tested the ebuild using gcc-3.4.1 and gcc-3.3.4 Created attachment 37090 [details]
updated ebuild
Created attachment 37091 [details, diff]
Patch to fix compiltion for gcc 3.4
awesome, thanks for the patch, added to cvs |