]> git.pld-linux.org Git - packages/crossmingw32-libtiff.git/commitdiff
- updated to 4.0.1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 21 Feb 2012 17:08:41 +0000 (17:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw32-libtiff.spec -> 1.12
    libtiff-sec.patch -> 1.6

crossmingw32-libtiff.spec
libtiff-sec.patch [deleted file]

index e87d3e92a1499c9d2ddb4c7b8dbe65ac071fcf84..04468bf5e8660d70a218a5de82d89c95414e6f50 100644 (file)
@@ -3,14 +3,13 @@ Summary:      Library for handling TIFF files - cross MinGW32 version
 Summary(pl.UTF-8):     Biblioteka do manipulacji plikami w formacie TIFF - wersja skrośna MinGW32
 %define                realname   libtiff
 Name:          crossmingw32-%{realname}
 Summary(pl.UTF-8):     Biblioteka do manipulacji plikami w formacie TIFF - wersja skrośna MinGW32
 %define                realname   libtiff
 Name:          crossmingw32-%{realname}
-Version:       4.0.0
+Version:       4.0.1
 Release:       1
 License:       BSD-like
 Group:         Development/Libraries
 Source0:       http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
 Release:       1
 License:       BSD-like
 Group:         Development/Libraries
 Source0:       http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
-# Source0-md5: 456ad12e7c492b275a0d047f2ba89904
+# Source0-md5: fae149cc9da35c598d8be897826dfc63
 Patch0:                %{realname}-glut.patch
 Patch0:                %{realname}-glut.patch
-Patch1:                %{realname}-sec.patch
 URL:           http://www.remotesensing.org/libtiff/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
 URL:           http://www.remotesensing.org/libtiff/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
@@ -118,7 +117,6 @@ Biblioteka DLL strumieni C++ libtiff dla Windows.
 %prep
 %setup -q -n tiff-%{version}
 %patch0 -p1
 %prep
 %setup -q -n tiff-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
 
 %build
 %{__libtoolize}
diff --git a/libtiff-sec.patch b/libtiff-sec.patch
deleted file mode 100644 (file)
index a04b17a..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
---- tiff-4.0.0/libtiff/tif_dir.c.orig  2011-02-19 17:26:09.000000000 +0100
-+++ tiff-4.0.0/libtiff/tif_dir.c       2011-12-24 10:43:18.779372638 +0100
-@@ -153,6 +153,7 @@ _TIFFVSetField(TIFF* tif, uint32 tag, va
- {
-       static const char module[] = "_TIFFVSetField";
-+      const TIFFField* fip;
-       TIFFDirectory* td = &tif->tif_dir;
-       int status = 1;
-       uint32 v32, i, v;
-@@ -660,17 +661,19 @@ end:
-       va_end(ap);
-       return (status);
- badvalue:
-+      fip = TIFFFieldWithTag(tif, tag);
-       TIFFErrorExt(tif->tif_clientdata, module,
-                    "%s: Bad value %u for \"%s\" tag",
-                    tif->tif_name, v,
--                   TIFFFieldWithTag(tif, tag)->field_name);
-+                   fip ? fip->field_name : "Unknown");
-       va_end(ap);
-       return (0);
- badvalue32:
-+      fip = TIFFFieldWithTag(tif, tag);
-       TIFFErrorExt(tif->tif_clientdata, module,
-                    "%s: Bad value %u for \"%s\" tag",
-                    tif->tif_name, v32,
--                   TIFFFieldWithTag(tif, tag)->field_name);
-+                   fip ? fip->field_name : "Unknown");
-       va_end(ap);
-       return (0);
- }
---- tiff-4.0.0/libtiff/tif_dirread.c.orig      2011-12-22 00:18:41.000000000 +0100
-+++ tiff-4.0.0/libtiff/tif_dirread.c   2011-12-24 10:39:34.932698478 +0100
-@@ -3897,6 +3897,7 @@ TIFFReadDirectory(TIFF* tif)
-                * Attempt to deal with a missing StripByteCounts tag.
-                */
-               if (!TIFFFieldSet(tif, FIELD_STRIPBYTECOUNTS)) {
-+                      const TIFFField* fip = TIFFFieldWithTag(tif, TIFFTAG_STRIPBYTECOUNTS);
-                       /*
-                        * Some manufacturers violate the spec by not giving
-                        * the size of the strips.  In this case, assume there
-@@ -3912,7 +3913,7 @@ TIFFReadDirectory(TIFF* tif)
-                       TIFFWarningExt(tif->tif_clientdata, module,
-                               "TIFF directory is missing required "
-                               "\"%s\" field, calculating from imagelength",
--                              TIFFFieldWithTag(tif,TIFFTAG_STRIPBYTECOUNTS)->field_name);
-+                              fip ? fip->field_name : "Unknown");
-                       if (EstimateStripByteCounts(tif, dir, dircount) < 0)
-                           goto bad;
-               /*
-@@ -3940,6 +3941,7 @@ TIFFReadDirectory(TIFF* tif)
-                            && _TIFFFillStriles(tif)
-                          && tif->tif_dir.td_stripoffset[0] != 0
-                          && BYTECOUNTLOOKSBAD) {
-+                      const TIFFField* fip = TIFFFieldWithTag(tif, TIFFTAG_STRIPBYTECOUNTS);
-                       /*
-                        * XXX: Plexus (and others) sometimes give a value of
-                        * zero for a tag when they don't know what the
-@@ -3948,7 +3950,7 @@ TIFFReadDirectory(TIFF* tif)
-                        */
-                       TIFFWarningExt(tif->tif_clientdata, module,
-                           "Bogus \"%s\" field, ignoring and calculating from imagelength",
--                          TIFFFieldWithTag(tif,TIFFTAG_STRIPBYTECOUNTS)->field_name);
-+                          fip ? fip->field_name : "Unknown");
-                       if(EstimateStripByteCounts(tif, dir, dircount) < 0)
-                           goto bad;
-@@ -3959,6 +3961,7 @@ TIFFReadDirectory(TIFF* tif)
-                          && tif->tif_dir.td_stripbytecount[0] != tif->tif_dir.td_stripbytecount[1]
-                          && tif->tif_dir.td_stripbytecount[0] != 0
-                          && tif->tif_dir.td_stripbytecount[1] != 0 ) {
-+                      const TIFFField* fip = TIFFFieldWithTag(tif, TIFFTAG_STRIPBYTECOUNTS);
-                       /*
-                        * XXX: Some vendors fill StripByteCount array with
-                        * absolutely wrong values (it can be equal to
-@@ -3971,7 +3974,7 @@ TIFFReadDirectory(TIFF* tif)
-                        */
-                       TIFFWarningExt(tif->tif_clientdata, module,
-                           "Wrong \"%s\" field, ignoring and calculating from imagelength",
--                          TIFFFieldWithTag(tif,TIFFTAG_STRIPBYTECOUNTS)->field_name);
-+                          fip ? fip->field_name : "Unknown");
-                       if (EstimateStripByteCounts(tif, dir, dircount) < 0)
-                           goto bad;
- #endif /* !defined(DEFER_STRILE_LOAD) */                        
This page took 0.103669 seconds and 4 git commands to generate.