diff --git a/libpng-1.6.40.tar.gz b/libpng-1.6.40.tar.gz deleted file mode 100644 index c7bfde4bc2205c4ed78e574e87221b1c495a693e..0000000000000000000000000000000000000000 Binary files a/libpng-1.6.40.tar.gz and /dev/null differ diff --git a/libpng-1.6.43.tar.gz b/libpng-1.6.43.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..24c299dadeaa72d24c5b439e15a617b0293ea407 Binary files /dev/null and b/libpng-1.6.43.tar.gz differ diff --git a/libpng-fix-arm-neon.patch b/libpng-fix-arm-neon.patch index 035dd6173725dd4123a274422d0f988dde9e43b0..1dc874f1bbf7f399868608b13199798c3f99ceeb 100644 --- a/libpng-fix-arm-neon.patch +++ b/libpng-fix-arm-neon.patch @@ -1,18 +1,28 @@ +From 70001f178343e82b3b4ae0872a1accd4a06d474d Mon Sep 17 00:00:00 2001 +From: zhangxingrong +Date: Tue, 21 May 2024 17:33:27 +0800 +Subject: [PATCH] libpng fix arm neon + +--- + configure.ac | 4 ++++ + pngpriv.h | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + diff --git a/configure.ac b/configure.ac -index 4fb0778..930bf50 100644 +index 505d72f..4466b1c 100644 --- a/configure.ac +++ b/configure.ac -@@ -283,17 +283,21 @@ AC_ARG_ENABLE([arm-neon], +@@ -393,17 +393,21 @@ AC_ARG_ENABLE([arm-neon], [case "$enableval" in no|off) # disable the default enabling on __ARM_NEON__ systems: -+ AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support]) ++ AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support]) AC_DEFINE([PNG_ARM_NEON_OPT], [0], [Disable ARM Neon optimizations]) # Prevent inclusion of the assembler files below: enable_arm_neon=no ;; check) -+ AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support]) ++ AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support]) AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [], [Check for ARM Neon support at run-time]);; api) @@ -23,12 +33,12 @@ index 4fb0778..930bf50 100644 + AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support]) AC_DEFINE([PNG_ARM_NEON_OPT], [2], [Enable ARM Neon optimizations]) - AC_MSG_WARN([--enable-arm-neon: please specify 'check' or 'api', if] + AC_MSG_WARN([--enable-arm-neon: please specify 'check' or 'api';] diff --git a/pngpriv.h b/pngpriv.h -index 1997503..789206f 100644 +index 9bfdb71..60aae9b 100644 --- a/pngpriv.h +++ b/pngpriv.h -@@ -125,7 +125,7 @@ +@@ -127,7 +127,7 @@ * associated assembler code, pass --enable-arm-neon=no to configure * or put -DPNG_ARM_NEON_OPT=0 in CPPFLAGS. */ @@ -37,3 +47,6 @@ index 1997503..789206f 100644 defined(PNG_ALIGNED_MEMORY_SUPPORTED) # define PNG_ARM_NEON_OPT 2 # else +-- +2.43.0 + diff --git a/libpng.spec b/libpng.spec index 544e676057dbc7c09f1f1f42eef32d572d9bbaea..46a07a75d32d4e0c9aa84266ed9c11898f5cdd71 100644 --- a/libpng.spec +++ b/libpng.spec @@ -1,6 +1,6 @@ Name: libpng Epoch: 2 -Version: 1.6.40 +Version: 1.6.43 Release: 1 Summary: A library of functions for manipulating PNG image format files License: zlib @@ -88,6 +88,9 @@ make check %{_mandir}/man*/* %changelog +* Tue May 21 2024 zhangxingrong - 1.6.43-1 +- Update to version 1.6.43 + * Thu Jul 13 2023 jiangxinyu - 1.6.40-1 - Update package to version 1.6.40