Summary: | app-text/t1utils-1.34 fails to compile with glibc-2.10 getline conflict | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | desintegr, easyWiesi |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 | ||
Attachments: |
/tmp/emerge.info
/tmp/build.log t1utils-1.34-glibc-2.10.patch t1utils-1.34.ebuild.patch |
Description
Justin Lecher (RETIRED)
2009-05-20 18:54:56 UTC
Created attachment 191926 [details]
/tmp/emerge.info
=emerge --info
Created attachment 191927 [details]
/tmp/build.log
=build.log
Same here. Created attachment 192024 [details, diff]
t1utils-1.34-glibc-2.10.patch
Patch change all the offending uses of getline to _getline.
Created attachment 192026 [details, diff]
t1utils-1.34.ebuild.patch
Patch for the app-text/t1utils-1.34.ebuild to use the patch above.
Note: Functions starting with _ are reserved in C and should not be used. If you want to fix these kinds of bugs, patches should (for example) rename the getline function to nameofpackage_getline Can someone please explain me how to use these two patches? I#M not experienced in patching ebuilds. Thank you. (In reply to comment #7) > Can someone please explain me how to use these two patches? I#M not experienced > in patching ebuilds. Thank you. > 1. http://en.gentoo-wiki.com/wiki/Creating_an_Updated_Ebuild 2. Please try to find the solution yourself first in future. Like in this case you will find the answer very fast. 3. As it was said the patch isn't good. --> Use a solution like http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild?r1=1.4&r2=1.5 applied, thanks. |