Merge pull request #86645 from sorki/cross_libgpiod

libgpiod: add patch fixing cross-compilation
This commit is contained in:
Jörg Thalheim
2020-11-05 06:23:40 +01:00
committed by GitHub
2 changed files with 37 additions and 0 deletions
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "0xcwrg4p4w925lijmz4ci4500z83kj5gs1n501q4vhi54bdzn2k5";
};
patches = [
# cross compiling fix
# https://github.com/brgl/libgpiod/pull/45
./0001-Drop-AC_FUNC_MALLOC-and-_REALLOC-and-check-for-them-.patch
];
buildInputs = [ kmod ] ++ lib.optionals enablePython [ python3 ncurses ];
nativeBuildInputs = [
autoconf-archive