Summary: | app-antivirus/clamav-0.90: fails to compile with uclibc-0.9.28.1 (C_LINUX/NLS handling) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | solar (RETIRED) <solar> |
Component: | New packages | Assignee: | Antivirus Team <antivirus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | embedded, natanael.copa |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
lamav-0.90-uclibc-nls.patch
clamav-0.90-nls.patch clamav-0.90-r1.ebuild clamav-0.90-nls.patch clamav-0.90-r1.ebuild updated nls patch |
Description
solar (RETIRED)
2007-02-21 03:21:29 UTC
Created attachment 110783 [details, diff]
lamav-0.90-uclibc-nls.patch
quick work around for uclibc users w/o +nls support which is USE= masked.
Created attachment 110784 [details, diff]
clamav-0.90-nls.patch
This patch is not limited to uclibc alone. pretty much the patch type used in grep and friends.
Created attachment 110785 [details, diff]
clamav-0.90-r1.ebuild
clamav-0.90-r1.ebuild with (+|-) nls flag support.
Thanks for the patch. Feel free to apply it and add the -r1 into the tree - I just woke up and will be at work for next 8-10 hours, and I won't have chance to do it before I get back. I will send the patch upstream later, so please don't close this bug if you bump the ebuild. solar, clamav's configure doesn't have --{en,dis}able-nls option, so the patch won't help - or am I missing something here? Sorry. let me go fine an autoconf macro for nls. Created attachment 111961 [details, diff]
clamav-0.90-nls.patch
Updated nls patch
Created attachment 111962 [details]
clamav-0.90-r1.ebuild
Updated ebuild. Calls autoreconf to for the new nls option.
I see clamav-0.90.1 exists now. If you want me to attach new patches and ebuilds just yell. Reported upstream as bug 387. For now, let's apply the patch in 0.90 and 0.90.1 ebuilds. Comfirming the ebuild and patch works. I tried to just renamed it to clamav-0.90.1-r1 and it compiled just fine too. Sadly for whatever reason I can't view upstream bug 387 even after signing up for clamav bugzilla. Created attachment 112575 [details, diff]
updated nls patch
Basically, upstream responded on the bug:
We'll need to review more code that uses gettext(). shared/getopt.c is using
gettext() too.
I uploaded another patch (attached).
No response since then.
Patch applied in 0.90.1-r1. Thanks! |