Overview

Request 266 (accepted)

Fixed building for suse_version > 1210

Submit package home:appleonk...es:Essentials / broadcom-wl to package Essentials / broadcom-wl

broadcom-wl.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Fri Sep  7 12:54:16 UTC 2012 - oliver.bengs@opensuse.org
4
+
5
+- added abiupdate and switch_to to build in openSUSE > 1210
6
+
7
+-------------------------------------------------------------------
8
 Sun Nov 13 13:43:04 UTC 2011 - pascal.bleser@opensuse.org
9
 
10
 - fix the LICENSE.txt EOL
11
broadcom-wl.spec Changed
21
 
1
@@ -18,6 +18,8 @@
2
 Source1:        README.SuSE
3
 Source2:        broadcom-wl-blacklist
4
 Patch1:         hybrid-portsrc_x86_32-v5_100_82_112-disable_timestamps.patch
5
+Patch2:            hybrid-portsrc-switch_to.patch
6
+Patch3:            hybrid-portsrc-abiupdate.patch
7
 BuildRoot:      %{_tmppath}/%{name}-%version-build
8
 URL:            http://www.broadcom.com/support/802.11/linux_sta.php
9
 Provides:       wl-kmod-common = %{version}
10
@@ -46,6 +48,10 @@
11
 %prep
12
 %setup -q -c hybrid-portsrc-x86_%driverarch-v%{underversion}
13
 %patch1
14
+%if 0%{?suse_version} > 1210
15
+%patch2
16
+%patch3 
17
+%endif
18
 
19
 %__sed -i 's/\r$//' lib/LICENSE.txt
20
 
21
hybrid-portsrc-abiupdate.patch Added
13
 
1
@@ -0,0 +1,11 @@
2
+--- src/wl/sys/wl_linux.c.orig 2012-09-07 14:46:02.000000000 +0200
3
++++ src/wl/sys/wl_linux.c  2012-09-07 14:46:42.000000000 +0200
4
+@@ -385,7 +385,7 @@
5
+ #endif
6
+   .ndo_get_stats = wl_get_stats,
7
+   .ndo_set_mac_address = wl_set_mac_address,
8
+-  .ndo_set_multicast_list = wl_set_multicast_list,
9
++  .ndo_set_rx_mode = wl_set_multicast_list,
10
+   .ndo_do_ioctl = wl_ioctl
11
+ };
12
+ 
13
hybrid-portsrc-switch_to.patch Added
13
 
1
@@ -0,0 +1,11 @@
2
+--- src/wl/sys/wl_linux.orig   2012-06-18 12:44:36.396684755 +0200
3
++++ src/wl/sys/wl_linux.c  2012-06-18 12:45:01.936811391 +0200
4
+@@ -40,7 +40,7 @@
5
+ #include <linux/pci_ids.h>
6
+ #define WLC_MAXBSSCFG     1   
7
+ 
8
+-#include <asm/system.h>
9
++#include <asm/switch_to.h>
10
+ #include <asm/io.h>
11
+ #include <asm/irq.h>
12
+ #include <asm/pgtable.h>
13
Refresh
Refresh
Request History
Oliver Bengs's avatar

appleonkel created request over 11 years ago

Fixed building for suse_version > 1210


Javier Llorente's avatar

javier accepted request over 12 years ago

OK, thanks!