aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.6-linaro/100-uclibc-conf.patch
blob: ff9ad94f62a7a0f71391065209b0d6c273657dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/contrib/regression/objs-gcc.sh
+++ b/contrib/regression/objs-gcc.sh
@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
  then
   make all-gdb all-dejagnu all-ld || exit 1
   make install-gdb install-dejagnu install-ld || exit 1
+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
+ then
+  make all-gdb all-dejagnu all-ld || exit 1
+  make install-gdb install-dejagnu install-ld || exit 1
 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
   make bootstrap || exit 1
   make install || exit 1
--- a/libjava/classpath/ltconfig
+++ b/libjava/classpath/ltconfig
@@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1247,7 +1247,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
======================== --- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.c 2007-11-07 14:01:59.581347018 +0100 +++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.c 2007-11-07 14:02:01.789472851 +0100 @@ -1290,8 +1290,6 @@ IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt); return ni; -#undef IS_PSPOLL -#undef IS_CTL } #ifdef IEEE80211_DEBUG_REFCNT EXPORT_SYMBOL(ieee80211_find_rxnode_debug); @@ -1299,6 +1297,20 @@ EXPORT_SYMBOL(ieee80211_find_rxnode); #endif +int +ieee80211_check_rxnode(struct ieee80211_node *ni, + const struct ieee80211_frame_min *wh) +{ + if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/) + return IEEE80211_ADDR_EQ(ni->ni_macaddr, wh->i_addr1); + else + return IEEE80211_ADDR_EQ(ni->ni_macaddr, wh->i_addr2); +} + +EXPORT_SYMBOL(ieee80211_check_rxnode); +#undef IS_PSPOLL +#undef IS_CTL + /* * Return a reference to the appropriate node for sending * a data frame. This handles node discovery in adhoc networks. Index: madwifi-ng-r2834-20071106/net80211/ieee80211_node.h =================================================================== --- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_node.h 2007-11-07 14:01:59.589347473 +0100 +++ madwifi-ng-r2834-20071106/net80211/ieee80211_node.h 2007-11-07 14:02:01.873477636 +0100 @@ -328,6 +328,8 @@ *pni = NULL; /* guard against use */ } +int ieee80211_check_rxnode(struct ieee80211_node *ni, + const struct ieee80211_frame_min *wh); int ieee80211_add_wds_addr(struct ieee80211_node_table *, struct ieee80211_node *, const u_int8_t *, u_int8_t); void ieee80211_remove_wds_addr(struct ieee80211_node_table *, const u_int8_t *);