diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/01-zlib.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/01-zlib.patch b/debian/patches/01-zlib.patch new file mode 100644 index 0000000..8a78c06 --- /dev/null +++ b/debian/patches/01-zlib.patch @@ -0,0 +1,25 @@ +--- + configure.ac | 1 + + src/Makefile.am | 1 + + 2 files changed, 2 insertions(+) + +--- simple-scan.orig/configure.ac ++++ simple-scan/configure.ac +@@ -39,6 +39,7 @@ AM_CONDITIONAL(HAVE_COLORD, test $have_c + + AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])]) + AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])]) ++AC_CHECK_HEADERS([zlib.h],[],[AC_MSG_ERROR([ZLib not found])]) + + dnl ########################################################################### + dnl Documentation +--- simple-scan.orig/src/Makefile.am ++++ simple-scan/src/Makefile.am +@@ -47,6 +47,7 @@ simple_scan_LDADD = \ + $(SIMPLE_SCAN_LIBS) \ + $(COLORD_LIBS) \ + -lsane \ ++ -lz \ + -lm + + CLEANFILES = \ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f505775 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-zlib.patch |