diff --git a/broadcom-sta-6.30.223.141-gcc-4.9.patch b/broadcom-sta-6.30.223.141-gcc-4.9.patch new file mode 100644 index 0000000..e5a36b5 --- /dev/null +++ b/broadcom-sta-6.30.223.141-gcc-4.9.patch @@ -0,0 +1,15 @@ +diff -Nru broadcom-sta-6.30.223.141.orig/src/wl/sys/wl_linux.c broadcom-sta-6.30.223.141/src/wl/sys/wl_linux.c +--- broadcom-sta-6.30.223.141.orig/src/wl/sys/wl_linux.c 2014-07-01 21:32:00.782056653 +0200 ++++ broadcom-sta-6.30.223.141/src/wl/sys/wl_linux.c 2014-07-01 21:35:11.597137367 +0200 +@@ -2037,8 +2037,11 @@ + void + wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b) + { ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wdate-time" + bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit, + __DATE__, __TIME__, EPI_VERSION_STR); ++#pragma GCC diagnostic pop + } + + #if defined(BCMDBG) diff --git a/broadcom-sta.spec b/broadcom-sta.spec index 0a26290..1e485d7 100644 --- a/broadcom-sta.spec +++ b/broadcom-sta.spec @@ -2,7 +2,7 @@ Name: broadcom-sta Version: 6.30.223.141 Epoch: 1 -Release: 2mamba +Release: 3mamba Summary: Brooadcom STA driver for BCM4311-, BCM4312-, BCM4321-, and BCM4322- based wireless hardware Group: System/Kernel and Hardware/Drivers Vendor: openmamba @@ -15,6 +15,7 @@ Patch0: %{name}-5.100.82.38-kernel-2.6.38.patch Patch1: %{name}-5.100.82.38-kernel-3.2.patch Patch2: %{name}-5.100.82.38-kernel-3.4.patch Patch3: broadcom-sta-6.30.223.141-kernel-3.10.patch +Patch4: broadcom-sta-6.30.223.141-gcc-4.9.patch License: no OSI Approved ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END @@ -32,13 +33,14 @@ Brooadcom STA driver for BCM4311-, BCM4312-, BCM4321-, and BCM4322- based wirele %prep %setup -q -n %{name}-%{version} -c %{name}-%{version} -T -%if "%{target_cpu}" == "x86_64" +%ifarch x86_64 tar xzf %{SOURCE1} %else tar xzf %{SOURCE0} %endif %patch3 -p2 +%patch4 -p1 %build ## @@ -102,6 +104,9 @@ fi %{_docdir}/broadcom-sta-%{broadcom_sta_ver}/LICENSE.txt %changelog +* Tue Jul 01 2014 Silvan Calarco 6.30.223.141-3mamba +- patched against gcc 4.9 and fix uncompressing 64 bit package for x86_64 + * Thu Jun 12 2014 Silvan Calarco 6.30.223.141-2mamba - fix modprobe.d blacklist name by removing %{KERNEL_VER}