diff options
author | Jason Lenz <Jason@Lenzplace.org> | 2021-03-19 12:35:58 -0500 |
---|---|---|
committer | Jason Lenz <Jason@Lenzplace.org> | 2021-03-19 12:35:58 -0500 |
commit | 5f0d9afab6016fb3872c0ef6109e6ed49e39e04f (patch) | |
tree | bff73abc07cc4117067e2cbf78b2c864a92dcd2f /pkgs/misc | |
parent | 67230d58a4c17c268964c3ea3395adf7a3cd2dff (diff) |
epkowa: apply recommendations from nixos package audit bot
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/drivers/epkowa/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/misc/drivers/epkowa/default.nix b/pkgs/misc/drivers/epkowa/default.nix index dc0fa8bf9cd8..e027bd2e7f57 100644 --- a/pkgs/misc/drivers/epkowa/default.nix +++ b/pkgs/misc/drivers/epkowa/default.nix @@ -13,7 +13,6 @@ , rpm , cpio , getopt -, patchelf , autoPatchelfHook , gcc }: @@ -324,17 +323,16 @@ stdenv.mkDerivation rec { sha256 = "1ma76jj0k3bz0fy06fiyl4di4y77rcryb0mwjmzs5ms2vq9rjysr"; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config libtool makeWrapper ]; buildInputs = [ gtk2 libxml2 - libtool libusb-compat-0_1 sane-backends - makeWrapper ]; patches = [ + # Patch for compatibility with libpng versions greater than 10499 (fetchpatch { urls = [ "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/iscan/files/iscan-2.28.1.3+libpng-1.5.patch?h=b6e4c805d53b49da79a0f64ef16bb82d6d800fcf" @@ -342,7 +340,9 @@ stdenv.mkDerivation rec { ]; sha256 = "04y70qjd220dpyh771fiq50lha16pms98mfigwjczdfmx6kpj1jd"; }) + # Patch iscan to search appropriate folders for firmware files ./firmware_location.patch + # Patch deprecated use of sscanf code to use a more modern C99 compatible version ./sscanf.patch ]; patchFlags = [ "-p0" ]; |