Merge pull request #187633 from esclear/fix-utsushi
utsushi/imagescan: Fix scanning
This commit is contained in:
commit
1a276245b4
1 changed files with 1 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue