From 4bbbcf6c1a7eb5c6965829c52277fba41c3e7893 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:24:42 +0100 Subject: [PATCH] automatic version update by autodist [release 1.6.27-1mamba;Thu Jan 05 2017] --- ....26-apng.patch => libpng-1.6.27-apng.patch | 98 +++++++++---------- libpng.spec | 5 +- 2 files changed, 53 insertions(+), 50 deletions(-) rename libpng-1.6.26-apng.patch => libpng-1.6.27-apng.patch (95%) diff --git a/libpng-1.6.26-apng.patch b/libpng-1.6.27-apng.patch similarity index 95% rename from libpng-1.6.26-apng.patch rename to libpng-1.6.27-apng.patch index 5811c5a..a8e312a 100644 --- a/libpng-1.6.26-apng.patch +++ b/libpng-1.6.27-apng.patch @@ -1,6 +1,6 @@ -diff -Naru libpng-1.6.26.org/png.h libpng-1.6.26/png.h ---- libpng-1.6.26.org/png.h 2016-10-20 23:41:17.097162484 +0900 -+++ libpng-1.6.26/png.h 2016-10-20 23:55:10.025489293 +0900 +diff -Naru libpng-1.6.27.org/png.h libpng-1.6.27/png.h +--- libpng-1.6.27.org/png.h 2017-01-05 17:22:39.068069429 +0900 ++++ libpng-1.6.27/png.h 2017-01-05 17:22:39.122069134 +0900 @@ -366,6 +366,10 @@ # include "pnglibconf.h" #endif @@ -52,7 +52,7 @@ diff -Naru libpng-1.6.26.org/png.h libpng-1.6.26/png.h /* The following callback receives png_uint_32 row_number, int pass for the * png_bytep data of the row. When transforming an interlaced image the -@@ -3245,6 +3268,74 @@ +@@ -3246,6 +3269,74 @@ /******************************************************************************* * END OF HARDWARE AND SOFTWARE OPTIONS ******************************************************************************/ @@ -127,7 +127,7 @@ diff -Naru libpng-1.6.26.org/png.h libpng-1.6.26/png.h /* Maintainer: Put new public prototypes here ^, in libpng.3, in project * defs, and in scripts/symbols.def. -@@ -3254,7 +3345,11 @@ +@@ -3255,7 +3346,11 @@ * one to use is one more than this.) */ #ifdef PNG_EXPORT_LAST_ORDINAL @@ -139,9 +139,9 @@ diff -Naru libpng-1.6.26.org/png.h libpng-1.6.26/png.h #endif #ifdef __cplusplus -diff -Naru libpng-1.6.26.org/pngget.c libpng-1.6.26/pngget.c ---- libpng-1.6.26.org/pngget.c 2016-10-20 23:41:17.098162476 +0900 -+++ libpng-1.6.26/pngget.c 2016-10-20 23:40:14.452643290 +0900 +diff -Naru libpng-1.6.27.org/pngget.c libpng-1.6.27/pngget.c +--- libpng-1.6.27.org/pngget.c 2017-01-05 17:22:39.069069423 +0900 ++++ libpng-1.6.27/pngget.c 2017-01-05 17:22:39.122069134 +0900 @@ -1216,4 +1216,166 @@ # endif #endif @@ -309,9 +309,9 @@ diff -Naru libpng-1.6.26.org/pngget.c libpng-1.6.26/pngget.c +} +#endif /* PNG_APNG_SUPPORTED */ #endif /* READ || WRITE */ -diff -Naru libpng-1.6.26.org/pnginfo.h libpng-1.6.26/pnginfo.h ---- libpng-1.6.26.org/pnginfo.h 2016-09-16 21:30:52.616790117 +0900 -+++ libpng-1.6.26/pnginfo.h 2016-10-20 23:40:14.432643443 +0900 +diff -Naru libpng-1.6.27.org/pnginfo.h libpng-1.6.27/pnginfo.h +--- libpng-1.6.27.org/pnginfo.h 2017-01-05 17:22:39.069069423 +0900 ++++ libpng-1.6.27/pnginfo.h 2017-01-05 17:22:39.122069134 +0900 @@ -255,5 +255,18 @@ png_bytepp row_pointers; /* the image bits */ #endif @@ -331,9 +331,9 @@ diff -Naru libpng-1.6.26.org/pnginfo.h libpng-1.6.26/pnginfo.h + }; #endif /* PNGINFO_H */ -diff -Naru libpng-1.6.26.org/pngpread.c libpng-1.6.26/pngpread.c ---- libpng-1.6.26.org/pngpread.c 2016-10-20 23:41:17.098162476 +0900 -+++ libpng-1.6.26/pngpread.c 2016-10-20 23:40:14.451643298 +0900 +diff -Naru libpng-1.6.27.org/pngpread.c libpng-1.6.27/pngpread.c +--- libpng-1.6.27.org/pngpread.c 2017-01-05 17:22:39.069069423 +0900 ++++ libpng-1.6.27/pngpread.c 2017-01-05 17:22:39.123069129 +0900 @@ -194,6 +194,106 @@ chunk_name = png_ptr->chunk_name; @@ -594,9 +594,9 @@ diff -Naru libpng-1.6.26.org/pngpread.c libpng-1.6.26/pngpread.c png_voidp PNGAPI png_get_progressive_ptr(png_const_structrp png_ptr) { -diff -Naru libpng-1.6.26.org/pngpriv.h libpng-1.6.26/pngpriv.h ---- libpng-1.6.26.org/pngpriv.h 2016-10-20 23:41:17.098162476 +0900 -+++ libpng-1.6.26/pngpriv.h 2016-10-20 23:48:56.011006323 +0900 +diff -Naru libpng-1.6.27.org/pngpriv.h libpng-1.6.27/pngpriv.h +--- libpng-1.6.27.org/pngpriv.h 2017-01-05 17:22:39.070069418 +0900 ++++ libpng-1.6.27/pngpriv.h 2017-01-05 17:22:39.123069129 +0900 @@ -567,6 +567,10 @@ #define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000U /* Have another chunk after IDAT */ /* 0x4000U (unused) */ @@ -673,9 +673,9 @@ diff -Naru libpng-1.6.26.org/pngpriv.h libpng-1.6.26/pngpriv.h /* Added at libpng version 1.4.0 */ #ifdef PNG_COLORSPACE_SUPPORTED /* These internal functions are for maintaining the colorspace structure within -diff -Naru libpng-1.6.26.org/pngread.c libpng-1.6.26/pngread.c ---- libpng-1.6.26.org/pngread.c 2016-10-20 23:41:17.099162468 +0900 -+++ libpng-1.6.26/pngread.c 2016-10-20 23:40:14.447643328 +0900 +diff -Naru libpng-1.6.27.org/pngread.c libpng-1.6.27/pngread.c +--- libpng-1.6.27.org/pngread.c 2017-01-05 17:22:39.070069418 +0900 ++++ libpng-1.6.27/pngread.c 2017-01-05 17:22:39.124069123 +0900 @@ -161,6 +161,9 @@ else if (chunk_name == png_IDAT) @@ -777,10 +777,10 @@ diff -Naru libpng-1.6.26.org/pngread.c libpng-1.6.26/pngread.c /* Optional call to update the users info_ptr structure */ void PNGAPI png_read_update_info(png_structrp png_ptr, png_inforp info_ptr) -diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c ---- libpng-1.6.26.org/pngrutil.c 2016-10-20 23:41:17.100162461 +0900 -+++ libpng-1.6.26/pngrutil.c 2016-10-20 23:40:14.444643351 +0900 -@@ -860,6 +860,11 @@ +diff -Naru libpng-1.6.27.org/pngrutil.c libpng-1.6.27/pngrutil.c +--- libpng-1.6.27.org/pngrutil.c 2017-01-05 17:22:39.072069407 +0900 ++++ libpng-1.6.27/pngrutil.c 2017-01-05 17:22:39.125069118 +0900 +@@ -861,6 +861,11 @@ filter_type = buf[11]; interlace_type = buf[12]; @@ -792,7 +792,7 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c /* Set internal variables */ png_ptr->width = width; png_ptr->height = height; -@@ -2760,6 +2765,179 @@ +@@ -2761,6 +2766,179 @@ } #endif @@ -972,7 +972,7 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c #ifdef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED /* Utility function for png_handle_unknown; set up png_ptr::unknown_chunk */ static int -@@ -4021,7 +4199,38 @@ +@@ -4022,7 +4200,38 @@ { uInt avail_in; png_bytep buffer; @@ -1011,7 +1011,7 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c while (png_ptr->idat_size == 0) { png_crc_finish(png_ptr, 0); -@@ -4033,7 +4242,7 @@ +@@ -4034,7 +4243,7 @@ if (png_ptr->chunk_name != png_IDAT) png_error(png_ptr, "Not enough image data"); } @@ -1020,7 +1020,7 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c avail_in = png_ptr->IDAT_read_size; if (avail_in > png_ptr->idat_size) -@@ -4096,6 +4305,9 @@ +@@ -4097,6 +4306,9 @@ png_ptr->mode |= PNG_AFTER_IDAT; png_ptr->flags |= PNG_FLAG_ZSTREAM_ENDED; @@ -1030,7 +1030,7 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) png_chunk_benign_error(png_ptr, "Extra compressed data"); -@@ -4542,4 +4754,80 @@ +@@ -4535,4 +4747,80 @@ png_ptr->flags |= PNG_FLAG_ROW_INIT; } @@ -1111,9 +1111,9 @@ diff -Naru libpng-1.6.26.org/pngrutil.c libpng-1.6.26/pngrutil.c +#endif /* PNG_PROGRESSIVE_READ_SUPPORTED */ +#endif /* PNG_READ_APNG_SUPPORTED */ #endif /* READ */ -diff -Naru libpng-1.6.26.org/pngset.c libpng-1.6.26/pngset.c ---- libpng-1.6.26.org/pngset.c 2016-10-20 23:41:17.101162453 +0900 -+++ libpng-1.6.26/pngset.c 2016-10-20 23:49:51.058637459 +0900 +diff -Naru libpng-1.6.27.org/pngset.c libpng-1.6.27/pngset.c +--- libpng-1.6.27.org/pngset.c 2017-01-05 17:22:39.073069401 +0900 ++++ libpng-1.6.27/pngset.c 2017-01-05 17:22:39.125069118 +0900 @@ -241,6 +241,11 @@ info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); @@ -1274,9 +1274,9 @@ diff -Naru libpng-1.6.26.org/pngset.c libpng-1.6.26/pngset.c #ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED static png_byte check_location(png_const_structrp png_ptr, int location) -diff -Naru libpng-1.6.26.org/pngstruct.h libpng-1.6.26/pngstruct.h ---- libpng-1.6.26.org/pngstruct.h 2016-10-20 23:41:17.101162453 +0900 -+++ libpng-1.6.26/pngstruct.h 2016-10-20 23:40:14.439643390 +0900 +diff -Naru libpng-1.6.27.org/pngstruct.h libpng-1.6.27/pngstruct.h +--- libpng-1.6.27.org/pngstruct.h 2017-01-05 17:22:39.073069401 +0900 ++++ libpng-1.6.27/pngstruct.h 2017-01-05 17:22:39.125069118 +0900 @@ -403,6 +403,27 @@ png_byte filter_type; #endif @@ -1305,9 +1305,9 @@ diff -Naru libpng-1.6.26.org/pngstruct.h libpng-1.6.26/pngstruct.h /* New members added in libpng-1.2.0 */ /* New members added in libpng-1.0.2 but first enabled by default in 1.2.0 */ -diff -Naru libpng-1.6.26.org/pngtest.c libpng-1.6.26/pngtest.c ---- libpng-1.6.26.org/pngtest.c 2016-10-20 23:41:17.101162453 +0900 -+++ libpng-1.6.26/pngtest.c 2016-10-20 23:40:14.438643397 +0900 +diff -Naru libpng-1.6.27.org/pngtest.c libpng-1.6.27/pngtest.c +--- libpng-1.6.27.org/pngtest.c 2017-01-05 17:22:39.073069401 +0900 ++++ libpng-1.6.27/pngtest.c 2017-01-05 17:22:39.126069112 +0900 @@ -874,6 +874,10 @@ volatile int num_passes; int pass; @@ -1319,7 +1319,7 @@ diff -Naru libpng-1.6.26.org/pngtest.c libpng-1.6.26/pngtest.c row_buf = NULL; error_parameters.file_name = inname; -@@ -1353,6 +1357,22 @@ +@@ -1358,6 +1362,22 @@ } } #endif @@ -1342,7 +1342,7 @@ diff -Naru libpng-1.6.26.org/pngtest.c libpng-1.6.26/pngtest.c #ifdef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED { png_unknown_chunkp unknowns; -@@ -1429,6 +1449,110 @@ +@@ -1434,6 +1454,110 @@ t_misc += (t_stop - t_start); t_start = t_stop; #endif @@ -1453,9 +1453,9 @@ diff -Naru libpng-1.6.26.org/pngtest.c libpng-1.6.26/pngtest.c for (pass = 0; pass < num_passes; pass++) { # ifdef calc_pass_height -diff -Naru libpng-1.6.26.org/pngwrite.c libpng-1.6.26/pngwrite.c ---- libpng-1.6.26.org/pngwrite.c 2016-10-20 23:41:17.101162453 +0900 -+++ libpng-1.6.26/pngwrite.c 2016-10-20 23:40:14.437643405 +0900 +diff -Naru libpng-1.6.27.org/pngwrite.c libpng-1.6.27/pngwrite.c +--- libpng-1.6.27.org/pngwrite.c 2017-01-05 17:22:39.074069396 +0900 ++++ libpng-1.6.27/pngwrite.c 2017-01-05 17:22:39.126069112 +0900 @@ -128,6 +128,10 @@ * the application continues writing the PNG. So check the 'invalid' * flag here too. @@ -1523,9 +1523,9 @@ diff -Naru libpng-1.6.26.org/pngwrite.c libpng-1.6.26/pngwrite.c #ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED /* Initialize the write structure - general purpose utility. */ -diff -Naru libpng-1.6.26.org/pngwutil.c libpng-1.6.26/pngwutil.c ---- libpng-1.6.26.org/pngwutil.c 2016-10-20 23:41:17.102162445 +0900 -+++ libpng-1.6.26/pngwutil.c 2016-10-20 23:40:14.435643420 +0900 +diff -Naru libpng-1.6.27.org/pngwutil.c libpng-1.6.27/pngwutil.c +--- libpng-1.6.27.org/pngwutil.c 2017-01-05 17:22:39.074069396 +0900 ++++ libpng-1.6.27/pngwutil.c 2017-01-05 17:22:39.127069107 +0900 @@ -817,6 +817,11 @@ /* Write the chunk */ png_write_complete_chunk(png_ptr, png_IHDR, buf, (png_size_t)13); @@ -1692,9 +1692,9 @@ diff -Naru libpng-1.6.26.org/pngwutil.c libpng-1.6.26/pngwutil.c +} +#endif /* PNG_WRITE_APNG_SUPPORTED */ #endif /* WRITE */ -diff -Naru libpng-1.6.26.org/scripts/symbols.def libpng-1.6.26/scripts/symbols.def ---- libpng-1.6.26.org/scripts/symbols.def 2016-10-20 23:41:17.103162438 +0900 -+++ libpng-1.6.26/scripts/symbols.def 2016-10-20 23:40:14.433643436 +0900 +diff -Naru libpng-1.6.27.org/scripts/symbols.def libpng-1.6.27/scripts/symbols.def +--- libpng-1.6.27.org/scripts/symbols.def 2017-01-05 17:22:39.080069363 +0900 ++++ libpng-1.6.27/scripts/symbols.def 2017-01-05 17:22:39.131069085 +0900 @@ -250,3 +250,23 @@ png_get_palette_max @243 png_set_option @244 diff --git a/libpng.spec b/libpng.spec index dbdcb84..0f97967 100644 --- a/libpng.spec +++ b/libpng.spec @@ -1,6 +1,6 @@ %define apiver %(echo %version | cut -d. -f1-2 | tr -d .) Name: libpng -Version: 1.6.26 +Version: 1.6.27 Release: 1mamba Summary: A library of functions for manipulating PNG image format files Group: System/Libraries @@ -126,6 +126,9 @@ ln -s libpng%{apiver}.so %{buildroot}%{_prefix}/lib/libpng.so %endif %changelog +* Thu Jan 05 2017 Automatic Build System 1.6.27-1mamba +- automatic version update by autodist + * Sat Oct 22 2016 Automatic Build System 1.6.26-1mamba - automatic version update by autodist