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 {
|
stdenv.mkDerivation {
|
||||||
name = "usbip-${kernel.name}";
|
name = "usbip-${kernel.name}";
|
||||||
|
|
||||||
src = kernel.src;
|
src = kernel.src;
|
||||||
|
|
||||||
patches = [
|
patches = lib.optionals (lib.versionAtLeast "5.4" kernel.version) [
|
||||||
# fixes build with gcc8
|
# fixes build with gcc8
|
||||||
./fix-snprintf-truncation.patch
|
./fix-snprintf-truncation.patch
|
||||||
# fixes build with gcc9
|
# fixes build with gcc9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user