Skip to content

Commit

Permalink
fixed the patch so that tiff 4.0.3 works with libjpeg 9. WIP #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 12, 2013
1 parent 89d8ba5 commit dfece76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/My/Utility.pm
Expand Up @@ -89,7 +89,7 @@ our $source_packs = [
'ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz',
],
sha1sum => '652e97b78f1444237a82cbcfe014310e776eb6f0',
patches => [],
patches => ['libtiff.4.0.3.tiffio.h.patch'],
prereq_libs => [],
},
{
Expand Down
11 changes: 11 additions & 0 deletions patches/libtiff.4.0.3.tiffio.h.patch
@@ -0,0 +1,11 @@
--- tiff-4.0.3/libtiff/tiffiop.h 2012-06-06 09:35:23.000000000 -0400
+++ tiff-4.0.3/libtiff/tiffiop.h 2013-08-11 22:23:00.000000000 -0400
@@ -70,4 +70,6 @@ extern void *lfind(const void *, const v
#ifndef TRUE
-#define TRUE 1
-#define FALSE 0
+//#define TRUE 1
+//#define FALSE 0
+typedef enum { FALSE=0, TRUE=1} boolean;
+#define HAVE_BOOLEAN
#endif

0 comments on commit dfece76

Please sign in to comment.