diff --git a/srcpkgs/broadcom-wl-dkms/patches/002-gcc-4.9.patch b/srcpkgs/broadcom-wl-dkms/patches/002-gcc-4.9.patch new file mode 100644 index 00000000000..ec354cecdbb --- /dev/null +++ b/srcpkgs/broadcom-wl-dkms/patches/002-gcc-4.9.patch @@ -0,0 +1,13 @@ +https://github.com/voidlinux/xbps-packages/issues/412 + +--- a/Makefile 2014-05-21 12:47:46.915833131 +0200 ++++ b/Makefile 2014-05-21 12:48:54.027409879 +0200 +@@ -126,6 +126,8 @@ EXTRA_CFLAGS += -I$(src)/src/wl/sy + EXTRA_CFLAGS += -I$(src)/src/shared/bcmwifi/include + #EXTRA_CFLAGS += -DBCMDBG_ASSERT + ++EXTRA_CFLAGS += -Wno-date-time ++ + EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped + + KBASE ?= /lib/modules/`uname -r` diff --git a/srcpkgs/broadcom-wl-dkms/template b/srcpkgs/broadcom-wl-dkms/template index 68129b4a82a..a1a700259fb 100644 --- a/srcpkgs/broadcom-wl-dkms/template +++ b/srcpkgs/broadcom-wl-dkms/template @@ -1,7 +1,7 @@ # Template file for 'broadcom-wl-dkms' pkgname=broadcom-wl-dkms version=6.30.223.271 -revision=13 +revision=14 archs="i686* x86_64*" create_wrksrc=yes depends="dkms"