~ubuntu-branches/ubuntu/vivid/simple-scan/vivid

« back to all changes in this revision

Viewing changes to debian/patches/01-zlib.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-08-31 01:03:07 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100831010307-vvqg5951w115ipbm
Tags: 2.31.91-1
* Imported Upstream version 2.31.91
* Refresh 01_lpi.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 configure.ac    |    1 +
 
3
 src/Makefile.am |    1 +
 
4
 2 files changed, 2 insertions(+)
 
5
 
 
6
--- simple-scan.orig/configure.ac
 
7
+++ simple-scan/configure.ac
 
8
@@ -40,6 +40,7 @@ PKG_CHECK_MODULES(SIMPLE_SCAN, [
 
9
 
 
10
 AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
 
11
 AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
 
12
+AC_CHECK_HEADERS([zlib.h],[],[AC_MSG_ERROR([ZLib not found])])
 
13
 AC_CHECK_HEADERS([jpeglib.h],[],[AC_MSG_ERROR([libjpeg not found])])
 
14
 
 
15
 dnl ###########################################################################
 
16
--- simple-scan.orig/src/Makefile.am
 
17
+++ simple-scan/src/Makefile.am
 
18
@@ -30,6 +30,7 @@ simple_scan_LDADD = \
 
19
        $(SIMPLE_SCAN_LIBS) \
 
20
        -lsane \
 
21
        -ljpeg \
 
22
+       -lz \
 
23
        -lm
 
24
 
 
25
 DISTCLEANFILES = \