Summary: | dev-tex/chktex - ? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Horea Christian <gentoo> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for missing strcasestr
Build log emerge --info FindErrs.c Build Log |
Description
Horea Christian
2012-06-26 00:00:14 UTC
Created attachment 316273 [details, diff]
patch for missing strcasestr
Probably it's a QA problem
Can you try the attached patch
works here
uhn... how do I apply the patch? (In reply to comment #0) > chktex won't build, can't understand why, neither all those who answered on > #gentoo > > Build log: http://paste.lugons.org/show/2613/ > emerge --info : http://paste.lugons.org/show/2615/ > The FindErrs.c file which *seems* to cause the problem: > http://paste.lugons.org/show/2616/ Please attach all that to this bug report, then reopen it. Created attachment 316427 [details]
Build log
Created attachment 316429 [details]
emerge --info
Created attachment 316431 [details]
FindErrs.c
Created attachment 316433 [details]
Build Log
Comment on attachment 316273 [details, diff]
patch for missing strcasestr
This patch looks definitely wrong — the problem is that it's getting an implicit declaration for strcasestr which is _already provided by glibc_ but only if _GNU_SOURCE is defined.
So the solution is to make sure string.h is included and define -D_GNU_SOURCE.
seems to be fixed in 1.7.3 |