summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-09-26 17:08:37 +0000
committeradam <adam@pkgsrc.org>2022-09-26 17:08:37 +0000
commit9896cc590f7f71b9743f15f97db488babe251166 (patch)
treede9e26fb9c3b85ad0be20fedb3740d4ba2bd0ca4
parent2053ae9d1df5c8e6cfd31ed2a96c00de76776d6c (diff)
downloadpkgsrc-9896cc590f7f71b9743f15f97db488babe251166.tar.gz
png: updated to 1.6.38
Version 1.6.38 [September 14, 2022] Added configurations and scripts for continuous integration. Fixed various errors in the handling of tRNS, hIST and eXIf. Implemented many stability improvements across all platforms. Updated the internal documentation.
-rw-r--r--graphics/png/Makefile5
-rw-r--r--graphics/png/distinfo10
-rw-r--r--graphics/png/patches/patch-pngpriv.h10
3 files changed, 12 insertions, 13 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 45d329c3e1a..0943eb95092 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.200 2021/05/18 10:05:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.201 2022/09/26 17:08:37 adam Exp $
-DISTNAME= libpng-1.6.37
+DISTNAME= libpng-1.6.38
PKGNAME= ${DISTNAME:S/lib//}
-PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://ftp-osl.osuosl.org/pub/libpng/src/archive/xz/libpng16/
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=libpng/}
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index baf9be290db..14d96d36caa 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.145 2021/10/26 10:46:41 nia Exp $
+$NetBSD: distinfo,v 1.146 2022/09/26 17:08:37 adam Exp $
-BLAKE2s (libpng-1.6.37.tar.xz) = 4d62463eb8aaa1c4487e967a7cfeca8c0d816f7ac7d3a0212dc3ef727f65daef
-SHA512 (libpng-1.6.37.tar.xz) = 59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074
-Size (libpng-1.6.37.tar.xz) = 1012272 bytes
+BLAKE2s (libpng-1.6.38.tar.xz) = 6dc361f6bc618dd70e97dfcb738b4f74e73c2b7c78442b81c4b92843e8c4310b
+SHA512 (libpng-1.6.38.tar.xz) = 4e450636062fcc75ecc65715e0b23ddc1097b73b4c95ffd31bef627144c576f58660b2130105f5f5781212cf54f00c7b6dd3facefd7e9de70c76b981d499f81e
+Size (libpng-1.6.38.tar.xz) = 1023168 bytes
SHA1 (patch-libpng-config.in) = 04f8d6af31114017ce9d1280e62f1768c35c289d
-SHA1 (patch-pngpriv.h) = 3da29edb5d89ab26b9787a71b87c3fd8f451ea39
+SHA1 (patch-pngpriv.h) = 16f80df18a2f58eec784e2d821e8bb93c3e81747
diff --git a/graphics/png/patches/patch-pngpriv.h b/graphics/png/patches/patch-pngpriv.h
index 9f9886052b8..fd648d6d650 100644
--- a/graphics/png/patches/patch-pngpriv.h
+++ b/graphics/png/patches/patch-pngpriv.h
@@ -1,15 +1,15 @@
-$NetBSD: patch-pngpriv.h,v 1.1 2017/07/05 04:59:16 maya Exp $
+$NetBSD: patch-pngpriv.h,v 1.2 2022/09/26 17:08:37 adam Exp $
Don't typedef types when included by assembler files
---- pngpriv.h.orig 2017-06-28 18:46:03.000000000 +0000
+--- pngpriv.h.orig 2022-09-26 17:03:37.000000000 +0000
+++ pngpriv.h
-@@ -464,7 +464,7 @@
+@@ -496,7 +496,7 @@
static_cast<type>(static_cast<void*>(value))
# define png_aligncastconst(type, value) \
static_cast<type>(static_cast<const void*>(value))
-#else
+#elif !defined(__ASSEMBLER__)
# define png_voidcast(type, value) (value)
- # ifdef _WIN64
- # ifdef __GNUC__
+ # define png_constcast(type, value) ((type)(void*)(const void*)(value))
+ # define png_aligncast(type, value) ((void*)(value))