aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/gcc5-ipxe.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-01 09:52:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-01 11:46:55 +0000
commit52fb76dcc814e3947e706a62a931c20ab3b80faa (patch)
treefcf964e97971954041fdcdc3714b5c22f3b06205 /main/xen/gcc5-ipxe.patch
parent1ef91d8e6b1d20088a2e5646544cc80c286b906e (diff)
downloadaports-52fb76dcc814e3947e706a62a931c20ab3b80faa.tar.bz2
aports-52fb76dcc814e3947e706a62a931c20ab3b80faa.tar.xz
main/xen: fix build with gcc5 and cleanup
Diffstat (limited to 'main/xen/gcc5-ipxe.patch')
-rw-r--r--main/xen/gcc5-ipxe.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/main/xen/gcc5-ipxe.patch b/main/xen/gcc5-ipxe.patch
new file mode 100644
index 0000000000..1135e765e6
--- /dev/null
+++ b/main/xen/gcc5-ipxe.patch
@@ -0,0 +1,55 @@
+diff --git a/tools/firmware/etherboot/patches/gcc5.patch b/tools/firmware/etherboot/patches/gcc5.patch
+new file mode 100644
+index 0000000..e091f4b
+--- /dev/null
++++ b/tools/firmware/etherboot/patches/gcc5.patch
+@@ -0,0 +1,39 @@
++--- ipxe.orig/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c 2011-12-11 03:28:04.000000000 +0100
+++++ ipxe/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c 2015-05-25 10:33:05.576229086 +0200
++@@ -859,7 +859,7 @@
++ REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW,
++ AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
++
++- if (!on != aniState->ofdmWeakSigDetectOff) {
+++ if ((!on) != aniState->ofdmWeakSigDetectOff) {
++ DBG2("ath9k: "
++ "** ch %d: ofdm weak signal: %s=>%s\n",
++ chan->channel,
++@@ -1013,7 +1013,7 @@
++ AR_PHY_MRC_CCK_ENABLE, is_on);
++ REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,
++ AR_PHY_MRC_CCK_MUX_REG, is_on);
++- if (!is_on != aniState->mrcCCKOff) {
+++ if ((!is_on) != aniState->mrcCCKOff) {
++ DBG2("ath9k: "
++ "** ch %d: MRC CCK: %s=>%s\n",
++ chan->channel,--- ipxe.orig/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c 2011-12-11 03:28:04.000000000 +0100
+++++ ipxe/src/drivers/net/ath/ath9k/ath9k_ar5008_phy.c 2015-05-25 11:14:30.732759966 +0200
++@@ -1141,7 +1141,7 @@
++ REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW,
++ AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
++
++- if (!on != aniState->ofdmWeakSigDetectOff) {
+++ if ((!on) != aniState->ofdmWeakSigDetectOff) {
++ if (on)
++ ah->stats.ast_ani_ofdmon++;
++ else
++@@ -1307,7 +1307,7 @@
++ REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW,
++ AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
++
++- if (!on != aniState->ofdmWeakSigDetectOff) {
+++ if ((!on) != aniState->ofdmWeakSigDetectOff) {
++ DBG2("ath9k: "
++ "** ch %d: ofdm weak signal: %s=>%s\n",
++ chan->channel,
+\ No newline at end of file
+diff --git a/tools/firmware/etherboot/patches/series b/tools/firmware/etherboot/patches/series
+index 154e65b..73c9447 100644
+--- a/tools/firmware/etherboot/patches/series
++++ b/tools/firmware/etherboot/patches/series
+@@ -4,3 +4,4 @@ build_fix_2.patch
+ build_fix_3.patch
+ no-clobber-ebp.patch
+ no-clobber-ebp2.patch
++gcc5.patch