sane-backends: cherry-pick fix for scanimage locking up on exit (#432780)
This commit is contained in:
commit
c46649f3e0
@ -2,6 +2,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitLab,
|
fetchFromGitLab,
|
||||||
|
fetchpatch,
|
||||||
runtimeShell,
|
runtimeShell,
|
||||||
buildPackages,
|
buildPackages,
|
||||||
gettext,
|
gettext,
|
||||||
@ -52,6 +53,15 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY=";
|
hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fix hangs in tests, hopefully
|
||||||
|
# FIXME: remove in next release
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.com/sane-project/backends/-/commit/8acc267d5f4049d8438456821137ae56e91baea9.patch";
|
||||||
|
hash = "sha256-IyupDeH1MPvEBnGaUzBbCu106Gp7zXxlPGFAaiiINQI=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Do not create lock dir in install phase
|
# Do not create lock dir in install phase
|
||||||
sed -i '/^install-lockpath:/!b;n;c\ # pass' backend/Makefile.am
|
sed -i '/^install-lockpath:/!b;n;c\ # pass' backend/Makefile.am
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user