summaryrefslogtreecommitdiff
path: root/debian/patches/01-zlib.patch
blob: 8a78c06d70616ace18feef24a68cb60a948cadc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 = \