summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-03-09 04:31:47 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-03-09 04:31:47 +0000
commit36bdb3c99de2ad0cf26445acac10514527e2b0f9 (patch)
treec03730d0858420935fbe120acb6562f1570f065a /net-wireless
parentFix broken Manifest due to cvs headers in files from $FILESDIR. (diff)
downloadgentoo-2-36bdb3c99de2ad0cf26445acac10514527e2b0f9.tar.gz
gentoo-2-36bdb3c99de2ad0cf26445acac10514527e2b0f9.tar.bz2
gentoo-2-36bdb3c99de2ad0cf26445acac10514527e2b0f9.zip
Add patch for GCC-4.3, bug #203937.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/wpa_supplicant/ChangeLog6
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.5.10-gcc-4.3.patch34
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild4
3 files changed, 42 insertions, 2 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog
index 265238583f5b..069b03fbc28a 100644
--- a/net-wireless/wpa_supplicant/ChangeLog
+++ b/net-wireless/wpa_supplicant/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/wpa_supplicant
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.103 2008/03/09 02:03:30 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.104 2008/03/09 04:31:46 dirtyepic Exp $
+
+ 09 Mar 2008; Ryan Hill <dirtyepic@gentoo.org>
+ +files/wpa_supplicant-0.5.10-gcc-4.3.patch, wpa_supplicant-0.5.10.ebuild:
+ Add patch for GCC-4.3, bug #203937.
*wpa_supplicant-0.5.10 (09 Mar 2008)
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.5.10-gcc-4.3.patch b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.5.10-gcc-4.3.patch
new file mode 100644
index 000000000000..d89614fa17eb
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.5.10-gcc-4.3.patch
@@ -0,0 +1,34 @@
+diff -Naur wpa_supplicant-0.5.8-orig/wpa_gui/networkconfig.ui.h wpa_supplicant-0.5.8/wpa_gui/networkconfig.ui.h
+--- wpa_supplicant-0.5.8-orig/wpa_gui/networkconfig.ui.h 2006-12-09 18:38:48.000000000 -0600
++++ wpa_supplicant-0.5.8/wpa_gui/networkconfig.ui.h 2007-12-31 18:36:06.000000000 -0600
+@@ -10,6 +10,7 @@
+ ** destructor.
+ *****************************************************************************/
+
++#include <stdlib.h>
+
+ enum {
+ AUTH_NONE = 0,
+diff -Naur wpa_supplicant-0.5.8-orig/wpa_gui/userdatarequest.ui.h wpa_supplicant-0.5.8/wpa_gui/userdatarequest.ui.h
+--- wpa_supplicant-0.5.8-orig/wpa_gui/userdatarequest.ui.h 2005-06-05 10:19:57.000000000 -0600
++++ wpa_supplicant-0.5.8/wpa_gui/userdatarequest.ui.h 2007-12-31 18:34:57.000000000 -0600
+@@ -10,6 +10,8 @@
+ ** destructor.
+ *****************************************************************************/
+
++#include <stdlib.h>
++
+ int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
+ {
+ char *tmp, *pos, *pos2;
+diff -Naur wpa_supplicant-0.5.8-orig/wpa_gui/wpagui.ui.h wpa_supplicant-0.5.8/wpa_gui/wpagui.ui.h
+--- wpa_supplicant-0.5.8-orig/wpa_gui/wpagui.ui.h 2007-03-24 20:09:57.000000000 -0600
++++ wpa_supplicant-0.5.8/wpa_gui/wpagui.ui.h 2007-12-31 18:34:23.000000000 -0600
+@@ -16,6 +16,7 @@
+ #include <unistd.h>
+ #endif
+
++#include <stdlib.h>
+
+ void WpaGui::init()
+ {
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild
index 06a06bdebf26..f6840179a047 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild,v 1.1 2008/03/09 02:03:30 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.10.ebuild,v 1.2 2008/03/09 04:31:46 dirtyepic Exp $
inherit eutils toolchain-funcs
@@ -47,6 +47,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc-4.3.patch
+
# net/bpf.h needed for net-libs/libpcap on Gentoo FreeBSD
sed -i \
-e "s:\(#include <pcap\.h>\):#include <net/bpf.h>\n\1:" \