rtl8723bs: 6918e9b2ff29 -> 2016-04-11, fix build against 4.7
Upstream
e71a5fc58c
adds linux 4.7 support; all subsequent commits are error fixes so we
bump to current HEAD for good measure.
Built against linux and linux_latest.
Mark as broken on -grsec, seems incompatible with PaX
constification:
> 76fb2-src/hal/rtl8723b_hal_init.c:2186:26: error: assignment of member
'free_hal_data' in read-only object
pHalFunc->free_hal_data = &rtl8723b_free_hal_data;
and so on.
This commit is contained in:
parent
f16d3800e1
commit
e0ee5dc04f
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, linuxPackages }:
|
{ stdenv, linuxPackages }:
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.rev}";
|
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}";
|
||||||
inherit (linuxPackages.rtl8723bs) src;
|
inherit (linuxPackages.rtl8723bs) src;
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, fetchFromGitHub, nukeReferences, kernel }:
|
{ stdenv, fetchFromGitHub, nukeReferences, kernel }:
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rtl8723bs-${kernel.version}-${rev}";
|
name = "rtl8723bs-${kernel.version}-${version}";
|
||||||
rev = "6918e9b2ff297b1cc7fde193e72452c33c10e1c8";
|
version = "2016-04-11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hadess";
|
owner = "hadess";
|
||||||
repo = "rtl8723bs";
|
repo = "rtl8723bs";
|
||||||
inherit rev;
|
rev = "11ab92d8ccd71c80f0102828366b14ef6b676fb2";
|
||||||
sha256 = "07srd457wnz29nvvq02wz66s387bhjbydnmbs3qr7ljprabhsgmi";
|
sha256 = "05q7mf12xcb00v6ba4wwvqi53q7ph5brfkj17xf6vkx4jr7xxnmm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nukeReferences ];
|
buildInputs = [ nukeReferences ];
|
||||||
@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/hadess/rtl8723bs";
|
homepage = "https://github.com/hadess/rtl8723bs";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
broken = ! versionAtLeast kernel.version "3.19";
|
broken = (! versionAtLeast kernel.version "3.19")
|
||||||
|
|| (kernel.features.grsecurity or false);
|
||||||
maintainers = with maintainers; [ elitak ];
|
maintainers = with maintainers; [ elitak ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user