mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
gscan2pdf: add patch to remove warnings during test
see https://sourceforge.net/p/gscan2pdf/bugs/421 Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
fe3094b0dc
commit
1e2704927a
@ -1,4 +1,4 @@
|
||||
{ lib, fetchurl, perlPackages, wrapGAppsHook,
|
||||
{ lib, fetchurl, perlPackages, wrapGAppsHook, fetchpatch,
|
||||
# libs
|
||||
librsvg, sane-backends, sane-frontends,
|
||||
# runtime dependencies
|
||||
@ -17,6 +17,15 @@ perlPackages.buildPerlPackage rec {
|
||||
hash = "sha256-NGz6DUa7TdChpgwmD9pcGdvYr3R+Ft3jPPSJpybCW4Q=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes warnings during tests. See https://sourceforge.net/p/gscan2pdf/bugs/421
|
||||
(fetchpatch {
|
||||
name = "0001-Remove-given-and-when-keywords-and-operator.patch";
|
||||
url = "https://sourceforge.net/p/gscan2pdf/bugs/_discuss/thread/602a7cedfd/1ea4/attachment/0001-Remove-given-and-when-keywords-and-operator.patch";
|
||||
hash = "sha256-JtrHUkfEKnDhWfEVdIdYVlr5b/xChTzsrrPmruLaJ5M=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
|
||||
buildInputs =
|
||||
|
Loading…
Reference in New Issue
Block a user