Summary: | app-text/new-1.3.5 fails to build with glibc-2.8 (ARG_MAX undefined) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Evil Compile Person <bugs> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 225459 | ||
Attachments: |
Patch to compile against glibc-2.8
Patch to modify the ebuild so that it applies the glibc-2.8 patch |
Description
Evil Compile Person
2008-06-15 20:38:15 UTC
(In reply to comment #0) > new_proj.c:189: error: 'ARG_MAX' undeclared (first use in this function) ARG_MAX is a glibc-2.8 issue AFAIK. *** Bug 240113 has been marked as a duplicate of this bug. *** (In reply to comment #1) > (In reply to comment #0) > > new_proj.c:189: error: 'ARG_MAX' undeclared (first use in this function) > > ARG_MAX is a glibc-2.8 issue AFAIK. > After applying the patch from bug 225341, this compiles successfully on x86 with glibc 2.8 and gcc 4.3.2. #if defined(_SC_ARG_MAX) # if defined(ARG_MAX) # undef ARG_MAX # endif # define ARG_MAX sysconf (_SC_ARG_MAX) #endif Sam Created attachment 173385 [details, diff]
Patch to compile against glibc-2.8
Created attachment 173387 [details, diff]
Patch to modify the ebuild so that it applies the glibc-2.8 patch
thanks, added your patch to 1.3.5 |