Permalink
Browse files

Merge pull request #13 from mistydemeo/master

Fix build with Leptonica 1.68 and bump version
  • Loading branch information...
agl committed Jul 6, 2011
2 parents 858645d + 888b22f commit 17b36fad1e64a378f11eb934e8ca25f4b0008a4f
Showing with 3 additions and 3 deletions.
  1. +1 −1 LEPTONICA_VERSION
  2. +1 −1 Makefile
  3. +1 −1 jbig2.cc
View
@@ -1 +1 @@
-1.67
+1.68
View
@@ -1,5 +1,5 @@
CC=g++
-LEPTONICA=../leptonlib-1.67
+LEPTONICA=../leptonica-1.68
# For example, a fink MacOSX install:
# EXTRA=-I/sw/include/ -I/sw/include/libpng -I/sw/include/libjpeg -L/sw/lib
CFLAGS=-I${LEPTONICA}/src -Wall -I/usr/include -L/usr/lib -O3 ${EXTRA}
View
@@ -349,7 +349,7 @@ main(int argc, char **argv) {
return 1;
}
l_int32 filetype;
- findFileFormat(fp, &filetype);
+ findFileFormatStream(fp, &filetype);
if (filetype==IFF_TIFF && tiffGetCount(fp, &numsubimages)) {
return 1;
}

0 comments on commit 17b36fa

Please sign in to comment.