diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-03 05:32:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-03 05:32:01 +0000 |
commit | 7dc228709a8f37551c503587f68aa6ab19754266 (patch) | |
tree | 9e010633abfa41d661c56c7b8c0b990e916bf021 /sys-block/nwutil | |
parent | Moved to gtk-engines-qtpixmap and geramik (diff) | |
download | historical-7dc228709a8f37551c503587f68aa6ab19754266.tar.gz historical-7dc228709a8f37551c503587f68aa6ab19754266.tar.bz2 historical-7dc228709a8f37551c503587f68aa6ab19754266.zip |
Add support for /dev/temp.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-block/nwutil')
-rw-r--r-- | sys-block/nwutil/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/nwutil/Manifest | 19 | ||||
-rw-r--r-- | sys-block/nwutil/files/nwutil-1.4-temp.patch | 24 | ||||
-rw-r--r-- | sys-block/nwutil/nwutil-1.4.ebuild | 3 |
4 files changed, 47 insertions, 7 deletions
diff --git a/sys-block/nwutil/ChangeLog b/sys-block/nwutil/ChangeLog index 1c4923935b4b..5d5d66663761 100644 --- a/sys-block/nwutil/ChangeLog +++ b/sys-block/nwutil/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/nwutil -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/nwutil/ChangeLog,v 1.2 2005/03/06 11:57:15 swegener Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/nwutil/ChangeLog,v 1.3 2005/08/03 05:32:01 vapier Exp $ + + 03 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +files/nwutil-1.4-temp.patch, nwutil-1.4.ebuild: + Add support for /dev/temp. *nwutil-1.4 (06 Mar 2005) diff --git a/sys-block/nwutil/Manifest b/sys-block/nwutil/Manifest index c41fb0370b3b..e9f91c409748 100644 --- a/sys-block/nwutil/Manifest +++ b/sys-block/nwutil/Manifest @@ -1,6 +1,17 @@ -MD5 3f59e0f57a79be4a5eacc5eb3105ac03 ChangeLog 569 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 48834ccc5ffa5b7734f8cac702fcd38a metadata.xml 156 -MD5 2e670cddeea8a3c42cecfd1b90fc32bb nwutil-1.4.ebuild 1045 -MD5 9f531354a568f2d63816ddc8ebfa9494 files/1.4-errno.patch 276 -MD5 78ccbcfded4d224832705ac6aabfe671 files/1.4-rename-debug.patch 1496 +MD5 410923b66a49eeb88f9217983b673865 nwutil-1.4.ebuild 1083 +MD5 31eee1cece4f32ec94063ffd2e221684 ChangeLog 698 MD5 1d309a746225866dceb538c121b2a30e files/digest-nwutil-1.4 129 +MD5 83b266f1561f7257ee4887deba20a8db files/nwutil-1.4-temp.patch 625 +MD5 78ccbcfded4d224832705ac6aabfe671 files/1.4-rename-debug.patch 1496 +MD5 9f531354a568f2d63816ddc8ebfa9494 files/1.4-errno.patch 276 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC8FbkgIKl8Uu19MoRApk8AJ9cDgB8abR8SdfRo9Ug47nCjWDeFwCeL+bB +m8DO1Z0x9nBF2fmMxuMmZ/A= +=Smdw +-----END PGP SIGNATURE----- diff --git a/sys-block/nwutil/files/nwutil-1.4-temp.patch b/sys-block/nwutil/files/nwutil-1.4-temp.patch new file mode 100644 index 000000000000..3a786fdfa64e --- /dev/null +++ b/sys-block/nwutil/files/nwutil-1.4-temp.patch @@ -0,0 +1,24 @@ +Newer kernels name the device 'temp' so try both. + +--- fan_ctrl.c ++++ fan_ctrl.c +@@ -73,6 +73,8 @@ main (int argc, char **argv) + + fd = open ("/dev/temperature", O_RDWR); + if (fd < 0) ++ fd = open ("/dev/temp", O_RDWR); ++ if (fd < 0) + { + printf ("Error %d opening /dev/temperature\n", fd); + return EXIT_FAILURE; +--- set_therm.c ++++ set_therm.c +@@ -66,6 +66,8 @@ main (int argc, char **argv) + + fd = open ("/dev/temperature", O_RDWR); + if (fd < 0) ++ fd = open ("/dev/temp", O_RDWR); ++ if (fd < 0) + { + printf ("Error %d opening /dev/temperature\n", fd); + return EXIT_FAILURE; diff --git a/sys-block/nwutil/nwutil-1.4.ebuild b/sys-block/nwutil/nwutil-1.4.ebuild index 2012775a75a2..851c59ee818f 100644 --- a/sys-block/nwutil/nwutil-1.4.ebuild +++ b/sys-block/nwutil/nwutil-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/nwutil/nwutil-1.4.ebuild,v 1.2 2005/05/29 03:54:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nwutil/nwutil-1.4.ebuild,v 1.3 2005/08/03 05:32:01 vapier Exp $ inherit eutils @@ -25,6 +25,7 @@ src_unpack() { epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff epatch "${FILESDIR}"/${PV}-errno.patch epatch "${FILESDIR}"/${PV}-rename-debug.patch + epatch "${FILESDIR}"/${P}-temp.patch mv {,nw}debug.c mv {,nw}debug.8 } |