utsushi: Fix scanning

This commit fixes the problem reported in issue #177572.
Turns out that re-adding this line, which was removed in commit
526238b288, fixes the problem.
This commit is contained in:
Daniel Albert 2022-08-20 21:40:42 +02:00
parent 313249641d
commit 44cc09c2b4
No known key found for this signature in database
GPG key ID: 08C68B46CA8BF970

View file

@ -69,6 +69,7 @@ in stdenv.mkDerivation rec {
touch $out/etc/sane.d/dll.conf
# absolute paths to convert & tesseract
sed -i '/\[AC_DEFINE(\[HAVE_IMAGE_MAGICK\], \[1\])/a \ MAGICK_CONVERT="${imagemagick}/bin/convert"' configure.ac
substituteInPlace filters/magick.cpp \
--replace 'convert ' '${imagemagick}/bin/convert '
substituteInPlace filters/reorient.cpp \