Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104040

Summary: lm_sensors build fix for systems without NLS (e.g. uclibc)
Product: Gentoo Linux Reporter: René Rhéaume (a.k.a. repzilon, rener) <rene.rheaume>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to build lm_sensors optionally without iconv

Description René Rhéaume (a.k.a. repzilon, rener) 2005-08-28 08:45:59 UTC
I made a small patch to make lm_sensors buildable on a system where iconv is not
available.

To use it, add "epatch ${FILESDIR}/${P}-disable-iconv-r1.patch" inside
src_unpack() and "use nls || append-flags -DWITHOUT_ICONV inside" inside
src_compile().

Reproducible: Always
Steps to Reproduce:
1. emerge lm_sensors


Actual Results:  
Emerge error: src_compile() failed because of missing iconv

Expected Results:  
lm_sensors installed merged onto the live file system.
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2005-08-28 08:48:58 UTC
Created attachment 67083 [details, diff]
Patch to build lm_sensors optionally without iconv

This patch adds a define named WITHOUT_ICONV to conditionally disable the use
of the iconv function family.
Comment 2 Henrik Brix Andersen 2005-08-28 09:55:21 UTC
Please get this accepted by upstream, and it will automatically be made
available in portage when lm_sensors-2.9.2 is released (expected to be released
soon).

You can use the mailing list at
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors for submitting this patch.