libtiff: * libtiff 3.9.2 released.

https://github.com/libsdl-org/libtiff/commit/99d654bb550d3585ead69139a1315d8db7c7c087

From 99d654bb550d3585ead69139a1315d8db7c7c087 Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <[EMAIL REDACTED]>
Date: Wed, 4 Nov 2009 17:28:42 +0000
Subject: [PATCH] * libtiff 3.9.2 released.

---
 ChangeLog                     |   4 ++
 HOWTO-RELEASE                 |   2 +-
 RELEASE-DATE                  |   2 +-
 VERSION                       |   2 +-
 build/Makefile.in             |   2 +-
 configure                     |  22 +++---
 configure.ac                  |   4 +-
 contrib/dbs/xtiff/Makefile.in |   2 +-
 html/Makefile.am              |   6 +-
 html/Makefile.in              |   6 +-
 html/index.html               |   4 +-
 html/v3.9.2.html              | 122 ++++++++++++++++++++++++++++++++++
 libtiff/tiffvers.h            |   4 +-
 13 files changed, 156 insertions(+), 26 deletions(-)
 create mode 100644 html/v3.9.2.html

diff --git a/ChangeLog b/ChangeLog
index 1a97aeb2..20cb7538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
+
+	* libtiff 3.9.2 released.
+
 2009-11-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
 
 	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
diff --git a/HOWTO-RELEASE b/HOWTO-RELEASE
index d6035a5c..4bf4de75 100644
--- a/HOWTO-RELEASE
+++ b/HOWTO-RELEASE
@@ -88,7 +88,7 @@ Notes on releasing.
 
 12. In the source tree do
 
-      cvs tag Release-v3-9-1
+      cvs tag Release-v3-9-2
 
     (or the appropriate name for the release)
 
diff --git a/RELEASE-DATE b/RELEASE-DATE
index ea77a5bf..1f15bfe5 100644
--- a/RELEASE-DATE
+++ b/RELEASE-DATE
@@ -1 +1 @@
-20090828
+20091104
diff --git a/VERSION b/VERSION
index 6bd10744..2009c7df 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.9.1
+3.9.2
diff --git a/build/Makefile.in b/build/Makefile.in
index 05a37eee..9efd5c7d 100644
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -15,7 +15,7 @@
 
 @SET_MAKE@
 
-# $Id: Makefile.in,v 1.1.2.10 2009-10-07 20:15:00 bfriesen Exp $
+# $Id: Makefile.in,v 1.1.2.11 2009-11-04 17:28:45 bfriesen Exp $
 #
 # Tag Image File Format (TIFF) Software
 #
diff --git a/configure b/configure
index 6f85a695..bd8b59a1 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for LibTIFF Software 3.9.1.
+# Generated by GNU Autoconf 2.64 for LibTIFF Software 3.9.2.
 #
 # Report bugs to <tiff@lists.maptools.org>.
 #
@@ -698,8 +698,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='LibTIFF Software'
 PACKAGE_TARNAME='tiff'
-PACKAGE_VERSION='3.9.1'
-PACKAGE_STRING='LibTIFF Software 3.9.1'
+PACKAGE_VERSION='3.9.2'
+PACKAGE_STRING='LibTIFF Software 3.9.2'
 PACKAGE_BUGREPORT='tiff@lists.maptools.org'
 PACKAGE_URL=''
 
@@ -1492,7 +1492,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibTIFF Software 3.9.1 to adapt to many kinds of systems.
+\`configure' configures LibTIFF Software 3.9.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1567,7 +1567,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LibTIFF Software 3.9.1:";;
+     short | recursive ) echo "Configuration of LibTIFF Software 3.9.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1725,7 +1725,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibTIFF Software configure 3.9.1
+LibTIFF Software configure 3.9.2
 generated by GNU Autoconf 2.64
 
 Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2449,7 +2449,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibTIFF Software $as_me 3.9.1, which was
+It was created by LibTIFF Software $as_me 3.9.2, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   $ $0 $@
@@ -3376,7 +3376,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='tiff'
- VERSION='3.9.1'
+ VERSION='3.9.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3442,7 +3442,7 @@ fi
 
 LIBTIFF_MAJOR_VERSION=3
 LIBTIFF_MINOR_VERSION=9
-LIBTIFF_MICRO_VERSION=1
+LIBTIFF_MICRO_VERSION=2
 LIBTIFF_ALPHA_VERSION=
 LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
 LIBTIFF_RELEASE_DATE=`date +"%Y%m%d"`
@@ -19062,7 +19062,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibTIFF Software $as_me 3.9.1, which was
+This file was extended by LibTIFF Software $as_me 3.9.2, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -19126,7 +19126,7 @@ Report bugs to <tiff@lists.maptools.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_version="\\
-LibTIFF Software config.status 3.9.1
+LibTIFF Software config.status 3.9.2
 configured by $0, generated by GNU Autoconf 2.64,
   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
diff --git a/configure.ac b/configure.ac
index b9e04f5f..fdc13975 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ dnl OF THIS SOFTWARE.
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.64)
-AC_INIT([LibTIFF Software],[3.9.1],[tiff@lists.maptools.org],[tiff])
+AC_INIT([LibTIFF Software],[3.9.2],[tiff@lists.maptools.org],[tiff])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR(m4)
 AC_LANG(C)
@@ -41,7 +41,7 @@ dnl Versioning.
 dnl Don't fill the ALPHA_VERSION field, if not applicable.
 LIBTIFF_MAJOR_VERSION=3
 LIBTIFF_MINOR_VERSION=9
-LIBTIFF_MICRO_VERSION=1
+LIBTIFF_MICRO_VERSION=2
 LIBTIFF_ALPHA_VERSION=
 LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
 dnl This will be used with the 'make release' target
diff --git a/contrib/dbs/xtiff/Makefile.in b/contrib/dbs/xtiff/Makefile.in
index bf37e092..5bce034b 100644
--- a/contrib/dbs/xtiff/Makefile.in
+++ b/contrib/dbs/xtiff/Makefile.in
@@ -15,7 +15,7 @@
 
 @SET_MAKE@
 
-# $Id: Makefile.in,v 1.36.2.10 2009-10-07 20:15:00 bfriesen Exp $
+# $Id: Makefile.in,v 1.36.2.11 2009-11-04 17:28:45 bfriesen Exp $
 #
 # Tag Image File Format (TIFF) Software
 #
diff --git a/html/Makefile.am b/html/Makefile.am
index d0a694bc..c8fe7218 100644
--- a/html/Makefile.am
+++ b/html/Makefile.am
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.16.2.1 2007-07-13 13:40:12 dron Exp $
+# $Id: Makefile.am,v 1.16.2.2 2009-11-04 17:28:45 bfriesen Exp $
 #
 # Tag Image File Format (TIFF) Software
 #
@@ -74,7 +74,9 @@ docfiles = \
 	v3.8.0.html \
 	v3.8.1.html \
 	v3.8.2.html \
-	v3.9.0beta.html
+	v3.9.0beta.html \
+	v3.9.1.html \
+	v3.9.2.html
 
 dist_doc_DATA = $(docfiles)
 
diff --git a/html/Makefile.in b/html/Makefile.in
index 2f464332..0f3e024d 100644
--- a/html/Makefile.in
+++ b/html/Makefile.in
@@ -15,7 +15,7 @@
 
 @SET_MAKE@
 
-# $Id: Makefile.in,v 1.49.2.10 2009-10-07 20:15:00 bfriesen Exp $
+# $Id: Makefile.in,v 1.49.2.11 2009-11-04 17:28:46 bfriesen Exp $
 #
 # Tag Image File Format (TIFF) Software
 #
@@ -344,7 +344,9 @@ docfiles = \
 	v3.8.0.html \
 	v3.8.1.html \
 	v3.8.2.html \
-	v3.9.0beta.html
+	v3.9.0beta.html \
+	v3.9.1.html \
+	v3.9.2.html
 
 dist_doc_DATA = $(docfiles)
 SUBDIRS = images man
diff --git a/html/index.html b/html/index.html
index 052e9c2f..bb0e1616 100644
--- a/html/index.html
+++ b/html/index.html
@@ -24,7 +24,7 @@ <h1>LibTIFF - TIFF Library and Utilities</h1>
     </tr>
     <tr>
       <th>Latest Stable Release</th>
-      <td><a href="v3.9.1.html">v3.9.1</a></td>
+      <td><a href="v3.9.2.html">v3.9.2</a></td>
     </tr>
     <tr>
       <th>Master Download Site</th>
@@ -117,7 +117,7 @@ <h1>LibTIFF - TIFF Library and Utilities</h1>
   </ul>
   <hr>
   <p>
-    Last updated  $Date: 2009-08-28 16:24:13 $.
+    Last updated  $Date: 2009-11-04 17:28:46 $.
   </p>
 </body>
 </html>
diff --git a/html/v3.9.2.html b/html/v3.9.2.html
new file mode 100644
index 00000000..8d352f3e
--- /dev/null
+++ b/html/v3.9.2.html
@@ -0,0 +1,122 @@
+<HTML>
+<HEAD>
+<TITLE>
+	Changes in TIFF v3.9.2
+</TITLE>
+</HEAD>
+
+<BODY BGCOLOR=white>
+<FONT FACE="Helvetica, Arial, Sans">
+<FONT FACE="Helvetica, Arial, Sans"> 
+
+<BASEFONT SIZE=4>
+<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
+<BASEFONT SIZE=3>
+
+<UL>
+<HR SIZE=4 WIDTH=65% ALIGN=left>
+<B>Current Version</B>: v3.9.2<BR>
+<B>Previous Version</B>: <A HREF=v3.9.1.html>v3.9.1</a><BR>
+<B>Master FTP Site</B>: <A HREF="ftp://ftp.remotesensing.org/pub/libtiff">
+ftp.remotesensing.org</a>, directory pub/libtiff</A><BR>
+<B>Master HTTP Site</B>: <A HREF="http://www.remotesensing.org/libtiff">
+http://www.remotesensing.org/libtiff</a> 
+<HR SIZE=4 WIDTH=65% ALIGN=left>
+</UL>
+
+<P>
+This document describes the changes made to the software between the
+<I>previous</I> and <I>current</I> versions (see above).  If you don't
+find something listed here, then it was not done in this timeframe, or
+it was not considered important enough to be mentioned.  The following
+information is located here:
+<UL>
+<LI><A HREF="#hightlights">Major Changes</A>
+<LI><A HREF="#configure">Changes in the software configuration</A>
+<LI><A HREF="#libtiff">Changes in libtiff</A>
+<LI><A HREF="#tools">Changes in the tools</A>
+<LI><A HREF="#contrib">Changes in the contrib area</A>
+</UL>
+<p> 
+<P><HR WIDTH=65% ALIGN=left>
+
+<!--------------------------------------------------------------------------->
+
+<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>
+
+<UL>
+
+	<li> Fixes a number of bugs present in the 3.9.1 release.
+
+        <li> OJPEG support updated to work with IJG JPEG 7 release.
+
+        <li> Tiffcrop validated for most TIFF storage subformats and sample depths.
+
+</UL>
+
+
+<P><HR WIDTH=65% ALIGN=left>
+<!--------------------------------------------------------------------------->
+
+<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
+
+<UL>
+
+	<li> x86_64 now uses the same default fill order as i386.
+
+</UL>
+
+<P><HR WIDTH=65% ALIGN=left>
+
+<!--------------------------------------------------------------------------->
+
+<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
+
+<UL>
+	<li> Writing tags with an array value of type TIFF_DOUBLE now
+	returns correct error status. The TIFFTAG_SMINSAMPLEVALUE and
+	TIFFTAG_SMAXSAMPLEVALUE tags failed to write without this fix.
+
+	<li> OJPEG decoder now works with IJG JPEG 7.  Resolves "Bug
+	2090 - OJPEG crash with libjpeg v7".
+	http://bugzilla.maptools.org/show_bug.cgi?id=2090
+
+	<li> Eliminate most GCC "dereferencing type-punned pointer"
+	warnings.
+
+</UL>
+
+<P><HR WIDTH=65% ALIGN=left>
+
+<!-------------------------------------------------------------------------->
+	
+<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
+
+<UL>
+
+        <li> New tiffcrop from Richard Nolde.  Major updates to add
+        significant functionality for reading and writing tile based
+        images with bit depths not a multiple of 8 which cannot be
+        handled by tiffcp.
+
+        <li> Allow building tools with GCC using the "-Wformat
+        -Werror=format-security" flags.
+
+</UL>
+
+<P><HR WIDTH=65% ALIGN=left>
+
+<!--------------------------------------------------------------------------->
+
+<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
+
+<UL> 
+
+	<li> None
+
+</UL>
+
+Last updated $Date: 2009-11-04 17:28:46 $.
+
+</BODY>
+</HTML>
diff --git a/libtiff/tiffvers.h b/libtiff/tiffvers.h
index c4693f4f..7108541b 100644
--- a/libtiff/tiffvers.h
+++ b/libtiff/tiffvers.h
@@ -1,4 +1,4 @@
-#define TIFFLIB_VERSION_STR "LIBTIFF, Version 3.9.1\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
+#define TIFFLIB_VERSION_STR "LIBTIFF, Version 3.9.2\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
 /*
  * This define can be used in code that requires
  * compilation-related definitions specific to a
@@ -6,4 +6,4 @@
  * version checking should be done based on the
  * string returned by TIFFGetVersion.
  */
-#define TIFFLIB_VERSION 20090828
+#define TIFFLIB_VERSION 20091104