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.
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.
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.