patched against gcc 4.9 and fix uncompressing 64 bit package for x86_64 [release 6.30.223.141-3mamba;Tue Jul 01 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 21:00:34 +01:00
parent 3267ad353a
commit 8e12358c59
2 changed files with 22 additions and 2 deletions

View File

@ -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)

View File

@ -2,7 +2,7 @@
Name: broadcom-sta Name: broadcom-sta
Version: 6.30.223.141 Version: 6.30.223.141
Epoch: 1 Epoch: 1
Release: 2mamba Release: 3mamba
Summary: Brooadcom STA driver for BCM4311-, BCM4312-, BCM4321-, and BCM4322- based wireless hardware Summary: Brooadcom STA driver for BCM4311-, BCM4312-, BCM4321-, and BCM4322- based wireless hardware
Group: System/Kernel and Hardware/Drivers Group: System/Kernel and Hardware/Drivers
Vendor: openmamba 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 Patch1: %{name}-5.100.82.38-kernel-3.2.patch
Patch2: %{name}-5.100.82.38-kernel-3.4.patch Patch2: %{name}-5.100.82.38-kernel-3.4.patch
Patch3: broadcom-sta-6.30.223.141-kernel-3.10.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 License: no OSI Approved
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -32,13 +33,14 @@ Brooadcom STA driver for BCM4311-, BCM4312-, BCM4321-, and BCM4322- based wirele
%prep %prep
%setup -q -n %{name}-%{version} -c %{name}-%{version} -T %setup -q -n %{name}-%{version} -c %{name}-%{version} -T
%if "%{target_cpu}" == "x86_64" %ifarch x86_64
tar xzf %{SOURCE1} tar xzf %{SOURCE1}
%else %else
tar xzf %{SOURCE0} tar xzf %{SOURCE0}
%endif %endif
%patch3 -p2 %patch3 -p2
%patch4 -p1
%build %build
## ##
@ -102,6 +104,9 @@ fi
%{_docdir}/broadcom-sta-%{broadcom_sta_ver}/LICENSE.txt %{_docdir}/broadcom-sta-%{broadcom_sta_ver}/LICENSE.txt
%changelog %changelog
* Tue Jul 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 6.30.223.141-2mamba * Thu Jun 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.30.223.141-2mamba
- fix modprobe.d blacklist name by removing %{KERNEL_VER} - fix modprobe.d blacklist name by removing %{KERNEL_VER}