summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-06-28 23:33:36 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-06-28 23:33:36 +0000
commit48704d94f3957092f7e9f2106f5e50610ace5cd5 (patch)
treeebb9bcb9b36c331d4a4e5f354a9e983a040c980d /net-wireless
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-48704d94f3957092f7e9f2106f5e50610ace5cd5.tar.gz
gentoo-2-48704d94f3957092f7e9f2106f5e50610ace5cd5.tar.bz2
gentoo-2-48704d94f3957092f7e9f2106f5e50610ace5cd5.zip
Add patch to fix compilation with gcc-4.3 by Tyler Cordrey <tcordrey AT umd DOT edu>; bug #251573
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/waveselect/ChangeLog9
-rw-r--r--net-wireless/waveselect/files/waveselect-0.1.2-gcc43.patch11
-rw-r--r--net-wireless/waveselect/waveselect-0.1.2.ebuild13
3 files changed, 28 insertions, 5 deletions
diff --git a/net-wireless/waveselect/ChangeLog b/net-wireless/waveselect/ChangeLog
index 70f1f2f91f66..c92d651f3d0f 100644
--- a/net-wireless/waveselect/ChangeLog
+++ b/net-wireless/waveselect/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/waveselect
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/waveselect/ChangeLog,v 1.5 2008/08/24 03:33:17 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/waveselect/ChangeLog,v 1.6 2009/06/28 23:33:36 halcy0n Exp $
+
+ 27 Jun 2009; Mark Loeser <halcy0n@gentoo.org> waveselect-0.1.2.ebuild,
+ +files/waveselect-0.1.2-gcc43.patch:
+ Add patch to fix compilation with gcc-4.3 by Tyler Cordrey <tcordrey AT
+ umd DOT edu>; bug #251573
24 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org>
waveselect-0.1.2.ebuild:
diff --git a/net-wireless/waveselect/files/waveselect-0.1.2-gcc43.patch b/net-wireless/waveselect/files/waveselect-0.1.2-gcc43.patch
new file mode 100644
index 000000000000..95683c75e402
--- /dev/null
+++ b/net-wireless/waveselect/files/waveselect-0.1.2-gcc43.patch
@@ -0,0 +1,11 @@
+diff -ur waveselect-orig/wlans.h waveselect/wlans.h
+--- waveselect-orig/wlans.h 2009-06-27 19:32:06.000000000 -0400
++++ waveselect/wlans.h 2009-06-27 19:32:17.000000000 -0400
+@@ -3,6 +3,7 @@
+
+ #include <string>
+ #include <vector>
++#include <cstring>
+ #include "strings.h"
+
+ class cWlans {
diff --git a/net-wireless/waveselect/waveselect-0.1.2.ebuild b/net-wireless/waveselect/waveselect-0.1.2.ebuild
index e6c3bcf5d32d..ecbff39a9709 100644
--- a/net-wireless/waveselect/waveselect-0.1.2.ebuild
+++ b/net-wireless/waveselect/waveselect-0.1.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/waveselect/waveselect-0.1.2.ebuild,v 1.5 2008/08/24 03:33:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/waveselect/waveselect-0.1.2.ebuild,v 1.6 2009/06/28 23:33:36 halcy0n Exp $
EAPI=1
-inherit kde
+inherit eutils kde
DESCRIPTION="Waveselect is wireless lan connection tool for Linux using QT and wireless-tools."
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=19152"
@@ -19,6 +19,13 @@ DEPEND="x11-libs/qt:3"
RDEPEND="${DEPEND}
net-wireless/wireless-tools"
+src_unpack() {
+ kde_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+}
+
src_compile() {
${QTDIR}/bin/qmake -project || die
${QTDIR}/bin/qmake || die