diff options
author | Christian Heim <phreak@gentoo.org> | 2007-01-14 20:17:37 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-01-14 20:17:37 +0000 |
commit | c5f3637f0daded02296ed39406193f967c9dd775 (patch) | |
tree | 9ada0ba11b1d20c99a3c0e74abbf2a2ba27c4250 /sys-apps/lm_sensors/files | |
parent | Cleanup. (diff) | |
download | gentoo-2-c5f3637f0daded02296ed39406193f967c9dd775.tar.gz gentoo-2-c5f3637f0daded02296ed39406193f967c9dd775.tar.bz2 gentoo-2-c5f3637f0daded02296ed39406193f967c9dd775.zip |
Updating the lm_sensors-2.10.1 ebuild, adding pkg_config, changing the postinst message. Also adding the lm_sensors-detect patch supplied by d[r]eadlock <m.dreadlock at gmail.com> in #157085.
(Portage version: 2.1.2_rc4-r9)
Diffstat (limited to 'sys-apps/lm_sensors/files')
-rw-r--r-- | sys-apps/lm_sensors/files/lm_sensors-2.10.1-sensors-detect-gentoo.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-apps/lm_sensors/files/lm_sensors-2.10.1-sensors-detect-gentoo.patch b/sys-apps/lm_sensors/files/lm_sensors-2.10.1-sensors-detect-gentoo.patch index d75c36063691..748c56a31cac 100644 --- a/sys-apps/lm_sensors/files/lm_sensors-2.10.1-sensors-detect-gentoo.patch +++ b/sys-apps/lm_sensors/files/lm_sensors-2.10.1-sensors-detect-gentoo.patch @@ -84,7 +84,7 @@ Index: lm_sensors-2.10.1/prog/detect/sensors-detect # Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl> # # This program is free software; you can redistribute it and/or modify -@@ -5481,13 +5491,22 @@ sub main +@@ -5481,12 +5491,21 @@ sub main # in order as normal variables with the special names: # MODULE_0, MODULE_1, MODULE_2, etc. # @@ -97,18 +97,16 @@ Index: lm_sensors-2.10.1/prog/detect/sensors-detect EOT print SYSCONFIG - "# Generated by sensors-detect on " . scalar localtime() . "\n"; ++ "# Generated by sensors-detect on " . scalar localtime() . "\n\n"; my @modules = grep /^modprobe /, split "\n", $modprobes; -- my $i = 0; -+ "# Generated by sensors-detect on " . scalar localtime() . "\n\n"; + print SYSCONFIG + "# Load modules at startup\n". + "LOADMODULES=yes\n\n". + "# Initialize sensors at startup\n". + "INITSENSORS=yes\n\n"; -+my $i = 0; + my $i = 0; my $sysconfig = ""; foreach (@modules) { - s/^modprobe //; @@ -5495,10 +5514,8 @@ EOT $i++; } |