diff options
Diffstat (limited to 'debian/patches/0001-fix_missing_sane-config.patch')
-rw-r--r-- | debian/patches/0001-fix_missing_sane-config.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0001-fix_missing_sane-config.patch b/debian/patches/0001-fix_missing_sane-config.patch new file mode 100644 index 0000000..3750797 --- /dev/null +++ b/debian/patches/0001-fix_missing_sane-config.patch @@ -0,0 +1,16 @@ +Index: trunk/configure.in +=================================================================== +--- trunk.orig/configure.in ++++ trunk/configure.in +@@ -112,7 +112,10 @@ fi + + AC_CHECK_TOOL(RANLIB, ranlib, :) + +-AM_PATH_SANE(1.0.0, HAVE_SANE=yes, ) ++PKG_CHECK_MODULES([SANE], [sane-backends >= 1.0.0]) ++PKG_CHECK_VAR([SANE_PREFIX], [sane-backends >= 1.0.0], [prefix]) ++PKG_CHECK_VAR([SANE_LDFLAGS], [sane-backends >= 1.0.0], [ldflags], ++ [HAVE_SANE=yes]) + dnl Print error message if sane is missing + if test "x${HAVE_SANE}" = "x"; then + echo "**********************************************************************" |