mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 16:17:34 +00:00
dpdk-kmods: fix build against 5.18
This commit is contained in:
parent
9d220f5067
commit
1a15be699b
@ -1,14 +1,21 @@
|
||||
{ lib, stdenv, fetchzip, kernel }:
|
||||
{ lib, stdenv, fetchzip, fetchpatch, kernel }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dpdk-kmods";
|
||||
version = "2021-04-21";
|
||||
version = "2022-08-29";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://git.dpdk.org/dpdk-kmods/snapshot/dpdk-kmods-e13d7af77a1bf98757f85c3c4083f6ee6d0d2372.tar.xz";
|
||||
sha256 = "sha256-8ysWT3X3rIyUAo4/QbkX7cQq5iFeU18/BPsmmWugcIc=";
|
||||
url = "https://git.dpdk.org/dpdk-kmods/snapshot/dpdk-kmods-4a589f7bed00fc7009c93d430bd214ac7ad2bb6b.tar.xz";
|
||||
sha256 = "sha256-l9asJuw2nl63I1BxK6udy2pNunRiMJxyoXeg9V5+WgI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://git.launchpad.net/ubuntu/+source/dpdk-kmods/plain/debian/patches/0001-support-linux-5.18.patch?id=9d628c02c169d8190bc2cb6afd81e4d364c382cd";
|
||||
sha256 = "sha256-j4kpx1DOnmf5lFxOhaVFNT7prEy1jrJERX2NFaybTPU=";
|
||||
})
|
||||
];
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
@ -32,6 +39,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
platforms = platforms.linux;
|
||||
broken = kernel.kernelAtLeast "5.18";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user