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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user