diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-02-04 13:26:35 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-02-04 13:26:35 +0000 |
commit | c3b32e32a3f24cee35eb979f4e64c74635e4335a (patch) | |
tree | 0497481c800e48c75cef2f7e7afe67377881b18e /kde-base/kdenetwork | |
parent | Cleaned out old ebuilds. Updated copyright year. (diff) | |
download | gentoo-2-c3b32e32a3f24cee35eb979f4e64c74635e4335a.tar.gz gentoo-2-c3b32e32a3f24cee35eb979f4e64c74635e4335a.tar.bz2 gentoo-2-c3b32e32a3f24cee35eb979f4e64c74635e4335a.zip |
Add a wifi detection patch
Diffstat (limited to 'kde-base/kdenetwork')
-rw-r--r-- | kde-base/kdenetwork/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdenetwork/Manifest | 5 | ||||
-rw-r--r-- | kde-base/kdenetwork/files/linuxwirelesswidget.cpp.diff | 23 | ||||
-rw-r--r-- | kde-base/kdenetwork/kdenetwork-3.2.0.ebuild | 7 |
4 files changed, 37 insertions, 4 deletions
diff --git a/kde-base/kdenetwork/ChangeLog b/kde-base/kdenetwork/ChangeLog index da4f4341257b..c3ee7ad49fc9 100644 --- a/kde-base/kdenetwork/ChangeLog +++ b/kde-base/kdenetwork/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdenetwork # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.67 2004/02/02 12:28:53 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.68 2004/02/04 13:26:27 caleb Exp $ + + 04 Feb 2004; Caleb Tennis <caleb@gentoo.org> kdenetwork-3.2.0.ebuild, + files/linuxwirelesswidget.cpp.diff: + Add a wifi detection patch 02 Feb 2004; Caleb Tennis <caleb@gentoo.org> kdenetwork-3.2.0_rc1.ebuild, files/kdenetwork-3.2.0_rc1.patch: diff --git a/kde-base/kdenetwork/Manifest b/kde-base/kdenetwork/Manifest index ec976dd7ffa2..e2f80e93cfe3 100644 --- a/kde-base/kdenetwork/Manifest +++ b/kde-base/kdenetwork/Manifest @@ -1,11 +1,12 @@ MD5 971c245dcb3297b50a4f49ca7113f9b2 kdenetwork-3.0.5b.ebuild 964 MD5 2c100492512bed844c6179fbb7ef8480 kdenetwork-3.1.5.ebuild 909 -MD5 38fecb9c360edfe495bc0500bd2d253c kdenetwork-3.2.0.ebuild 1059 +MD5 ad9c489b53dc04ee44f4017d8c717a5c kdenetwork-3.2.0.ebuild 1142 MD5 fcaa38f59d404fd5936b5f2ad6f5a52d kdenetwork-3.1.4.ebuild 901 -MD5 1cbe4f6dc6020cbddb1b13371f17ef20 ChangeLog 9106 +MD5 c84c55b50ba2c09015d26322de2102a5 ChangeLog 9246 MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161 MD5 8cfc35635879b3b4fc158d2efa9ec0bb files/lisa 559 MD5 86ce22554d0bf8df52bc6fe7425184a3 files/reslisa 570 +MD5 93d1b5a88409a2adfec615de70dcaf70 files/linuxwirelesswidget.cpp.diff 796 MD5 3939e85ee43aba114cc3ece4194145b6 files/reslisa.conf 340 MD5 d97100af0cb95f733660b7a61492d71f files/lisa.conf 452 MD5 f67a62b0d07393c5fe1e38380eee7225 files/digest-kdenetwork-3.0.5b 71 diff --git a/kde-base/kdenetwork/files/linuxwirelesswidget.cpp.diff b/kde-base/kdenetwork/files/linuxwirelesswidget.cpp.diff new file mode 100644 index 000000000000..fcb5dd044c69 --- /dev/null +++ b/kde-base/kdenetwork/files/linuxwirelesswidget.cpp.diff @@ -0,0 +1,23 @@ +--- wifi/kwireless/linuxwirelesswidget.cpp 2003/05/07 07:59:05 1.5 ++++ wifi/kwireless/linuxwirelesswidget.cpp 2004/01/30 15:12:57 1.5.2.1 +@@ -12,6 +12,7 @@ + #include <kdebug.h> + #include <klocale.h> + #include "linuxwirelesswidget.h" ++#include "config.h" + + extern "C" { + #include <iwlib.h> +@@ -124,7 +125,11 @@ void LinuxWireLessWidget::poll() + } + + // get the device statistics: +- if(iw_get_stats(socketFD, device_c_str, &(info.stats)) >= 0) ++#if HAVE_IW_27 ++ if(iw_get_stats(socketFD, device_c_str, &(info.stats), &(info.range), info.has_range)>= 0) ++#else ++ if(iw_get_stats(socketFD, device_c_str, &(info.stats)) >= 0) ++#endif + { + info.has_stats = 1; + bool isAbs; // true if values are relative tp a peak value, diff --git a/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild b/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild index d41d11d4cd03..10e8cc81d47a 100644 --- a/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild +++ b/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild,v 1.1 2004/02/02 12:28:53 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-3.2.0.ebuild,v 1.2 2004/02/04 13:26:27 caleb Exp $ inherit kde-dist IUSE="slp samba" @@ -15,6 +15,11 @@ RDEPEND="$DEPEND" myconf="$myconf `use_enable slp`" +src_unpack() { + kde_src_unpack + epatch ${FILESDIR}/linuxwirelesswidget.cpp.diff +} + src_install() { kde_src_install |