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/wpa_supplicant/files
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/wpa_supplicant/files')
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.5.10-gcc-4.3.patch34
1 files changed, 34 insertions, 0 deletions
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()
+ {