mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:37:38 +00:00
linuxPackages.usbip: gcc warnings fixed in linux>=5.4
This commit is contained in:
parent
d1fa6eae3f
commit
2811645328
@ -1,11 +1,11 @@
|
||||
{ stdenv, kernel, udev, autoconf, automake, libtool }:
|
||||
{ lib, stdenv, kernel, udev, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "usbip-${kernel.name}";
|
||||
|
||||
src = kernel.src;
|
||||
|
||||
patches = [
|
||||
patches = lib.optionals (lib.versionAtLeast "5.4" kernel.version) [
|
||||
# fixes build with gcc8
|
||||
./fix-snprintf-truncation.patch
|
||||
# fixes build with gcc9
|
||||
|
Loading…
Reference in New Issue
Block a user