summaryrefslogtreecommitdiff
path: root/debian/patches/01-zlib.patch
blob: 9491a70604a116aa89c6b998fb64fd6daf407a91 (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
26
27
28
Description: add zlib
Last-Update: 2015-01-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/configure.ac
===================================================================
--- trunk.orig/configure.ac
+++ trunk/configure.ac
@@ -38,6 +38,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
Index: trunk/src/Makefile.am
===================================================================
--- trunk.orig/src/Makefile.am
+++ trunk/src/Makefile.am
@@ -47,6 +47,7 @@ simple_scan_LDADD = \
 	$(SIMPLE_SCAN_LIBS) \
 	$(COLORD_LIBS) \
 	-lsane \
+	-lz \
 	-lm
 
 CLEANFILES = \