Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104040 - lm_sensors build fix for systems without NLS (e.g. uclibc)
Summary: lm_sensors build fix for systems without NLS (e.g. uclibc)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 08:45 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2005-08-28 09:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to build lm_sensors optionally without iconv (lm_sensors-2.9.1-disable-iconv-r1.patch,1.13 KB, patch)
2005-08-28 08:48 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.