mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #277369 from herbetom/fix-batman-adv-skb_vlan_eth_hdr
batman-adv: fix redefinition of skb_vlan_eth_hdr
This commit is contained in:
commit
c3af87f879
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, fetchpatch2
|
||||
, kernel
|
||||
}:
|
||||
|
||||
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = cfg.sha256.${pname};
|
||||
};
|
||||
|
||||
patches = [
|
||||
# batman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels
|
||||
(fetchpatch2 {
|
||||
url = "https://git.open-mesh.org/batman-adv.git/commitdiff_plain/be69e50e8c249ced085d41ddd308016c1c692174?hp=74d3c5e1c682a9efe31b75e8986668081a4b5341";
|
||||
sha256 = "sha256-yfEiU74wuMSKal/6mwzgdccqDMEv4P7CkAeiSAEwvjA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"KERNELPATH=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
|
Loading…
Reference in New Issue
Block a user