packages (TEXLIVE_20080816): texlive/texlive-libpng.patch, texlive/texlive....

arekm arekm at pld-linux.org
Tue Feb 2 09:44:45 CET 2010


Author: arekm                        Date: Tue Feb  2 08:44:45 2010 GMT
Module: packages                      Tag: TEXLIVE_20080816
---- Log message:
- rel 9; fix libpng

---- Files affected:
packages/texlive:
   texlive-libpng.patch (1.2 -> 1.2.2.1) , texlive.spec (1.296 -> 1.296.2.1) 

---- Diffs:

================================================================
Index: packages/texlive/texlive-libpng.patch
diff -u packages/texlive/texlive-libpng.patch:1.2 packages/texlive/texlive-libpng.patch:1.2.2.1
--- packages/texlive/texlive-libpng.patch:1.2	Thu Jan 28 22:18:59 2010
+++ packages/texlive/texlive-libpng.patch	Tue Feb  2 09:44:39 2010
@@ -1,5 +1,5 @@
---- texlive-20091011-source/./texk/xdvipdfmx/src/xbb.c~	2008-05-25 17:00:35.000000000 +0200
-+++ texlive-20091011-source/./texk/xdvipdfmx/src/xbb.c	2010-01-28 22:01:10.653876887 +0100
+--- texk/dvipdfmx/src/xbb.c~	2008-05-24 18:50:54.000000000 +0200
++++ texk/dvipdfmx/src/xbb.c	2010-02-02 08:48:15.046585508 +0100
 @@ -246,7 +246,7 @@
    unsigned char sigbytes[4];
    rewind (png_file);
@@ -9,8 +9,8 @@
    else return 1;
  }             
  
---- texlive-20091011-source/texk/xdvipdfmx/src/pngimage.c~	2007-11-22 17:48:06.000000000 +0100
-+++ texlive-20091011-source/texk/xdvipdfmx/src/pngimage.c	2010-01-28 22:02:06.753257437 +0100
+--- texk/dvipdfmx/src/pngimage.c~	2008-04-21 02:43:12.000000000 +0200
++++ texk/dvipdfmx/src/pngimage.c	2010-02-02 08:48:46.656790759 +0100
 @@ -146,7 +146,7 @@
    rewind (png_file);
    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
@@ -20,9 +20,20 @@
      return 0;
    else
      return 1;
---- texlive-20091011-source/./texk/dvipdfmx/src/pngimage.c~	2009-05-26 01:12:24.000000000 +0200
-+++ texlive-20091011-source/./texk/dvipdfmx/src/pngimage.c	2010-01-28 22:02:43.449910278 +0100
-@@ -148,7 +148,7 @@
+--- texk/dvipdfm/thumbnail.c~	2006-01-17 22:41:51.000000000 +0100
++++ texk/dvipdfm/thumbnail.c	2010-02-02 08:49:20.553252415 +0100
+@@ -80,7 +80,7 @@
+   }
+   if (fread (sigbytes, 1, sizeof(sigbytes), thumb_file) !=
+       sizeof(sigbytes) ||
+-      (!png_check_sig (sigbytes, sizeof(sigbytes)))) {
++      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) {
+     fprintf (stderr, "\nThumbnail not a png file! Skipping\n");
+     return NULL;
+   }
+--- texk/dvipdfm/pngimage.c~	2006-01-17 22:41:51.000000000 +0100
++++ texk/dvipdfm/pngimage.c	2010-02-02 08:49:52.673256038 +0100
+@@ -42,7 +42,7 @@
    rewind (png_file);
    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
        sizeof(sigbytes) ||
@@ -31,8 +42,8 @@
      return 0;
    else
      return 1;
---- texlive-20091011-source/./texk/web2c/xetexdir/pngimage.c~	2006-07-26 18:19:45.000000000 +0200
-+++ texlive-20091011-source/./texk/web2c/xetexdir/pngimage.c	2010-01-28 22:03:20.986780607 +0100
+--- texk/web2c/xetexdir/pngimage.c~	2006-07-26 18:19:45.000000000 +0200
++++ texk/web2c/xetexdir/pngimage.c	2010-02-02 08:50:56.269902747 +0100
 @@ -101,7 +101,7 @@
    rewind (png_file);
    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
@@ -42,3 +53,45 @@
      return 0;
    else
      return 1;
+--- texk/xdvipdfmx/src/xbb.c~	2008-05-25 17:00:35.000000000 +0200
++++ texk/xdvipdfmx/src/xbb.c	2010-02-02 08:51:27.863441254 +0100
+@@ -246,7 +246,7 @@
+   unsigned char sigbytes[4];
+   rewind (png_file);
+   if (fread(sigbytes, 1, sizeof(sigbytes), png_file) != sizeof(sigbytes) ||
+-      (!png_check_sig (sigbytes, sizeof(sigbytes)))) return 0;
++      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) return 0;
+   else return 1;
+ }             
+ 
+--- texk/xdvipdfmx/src/pngimage.c~	2007-11-22 17:48:06.000000000 +0100
++++ texk/xdvipdfmx/src/pngimage.c	2010-02-02 08:52:01.387188159 +0100
+@@ -146,7 +146,7 @@
+   rewind (png_file);
+   if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
+       sizeof(sigbytes) ||
+-      (!png_check_sig (sigbytes, sizeof(sigbytes))))
++      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
+     return 0;
+   else
+     return 1;
+--- texk/web2c/xetexdir/XeTeX_ext.c.org	2010-02-02 09:11:16.226655687 +0100
++++ texk/web2c/xetexdir/XeTeX_ext.c	2010-02-02 09:14:23.969761702 +0100
+@@ -200,7 +200,7 @@
+ 			+ strlen(zlib_version)
+ #ifdef XETEX_OTHER
+ 			+ strlen(PNG_LIBPNG_VER_STRING)
+-			+ strlen(png_libpng_ver)
++			+ strlen(png_get_header_ver(NULL))
+ 			+ strlen(xpdfVersion)
+ 			+ 6 * 3 /* for fontconfig version #s (won't really need 3 digits per field!) */
+ #endif
+@@ -225,7 +225,7 @@
+ 		,
+ 		FC_VERSION / 10000, (FC_VERSION % 10000) / 100, FC_VERSION % 100,
+ 		fc_version / 10000, (fc_version % 10000) / 100, fc_version % 100,
+-		PNG_LIBPNG_VER_STRING, png_libpng_ver,
++		PNG_LIBPNG_VER_STRING, png_get_header_ver(NULL),
+ 		xpdfVersion
+ #endif
+ 		);

================================================================
Index: packages/texlive/texlive.spec
diff -u packages/texlive/texlive.spec:1.296 packages/texlive/texlive.spec:1.296.2.1
--- packages/texlive/texlive.spec:1.296	Thu Aug 13 09:36:21 2009
+++ packages/texlive/texlive.spec	Tue Feb  2 09:44:39 2010
@@ -34,7 +34,7 @@
 Summary(tr.UTF-8):	TeX dizgi sistemi ve MetaFont yazıtipi biçimlendiricisi
 Name:		texlive
 Version:	20080816
-Release:	8
+Release:	9
 Epoch:		1
 License:	distributable
 Group:		Applications/Publishing/TeX
@@ -83,6 +83,7 @@
 Patch3:		%{name}-getline.patch
 Patch4:		%{name}-stdio.patch
 Patch5:		%{name}-aclocal.patch
+Patch6:		%{name}-libpng.patch
 URL:		http://www.tug.org/texlive/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -5578,6 +5579,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p0
 CURDIR=$(pwd)
 
 cd utils/xindy/make-rules/alphabets
@@ -13863,6 +13865,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.296.2.1  2010/02/02 08:44:39  arekm
+- rel 9; fix libpng
+
 Revision 1.296  2009/08/13 07:36:21  uzsolt
 - added %dir scripts/xindy
 - rel 8
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive-libpng.patch?r1=1.2&r2=1.2.2.1&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.spec?r1=1.296&r2=1.296.2.1&f=u



More information about the pld-cvs-commit mailing list