Skip to content

Commit

Permalink
update depends libpng to version 1.6.43
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEsch committed Mar 29, 2024
1 parent 7f34b4d commit 98e28d0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
14 changes: 6 additions & 8 deletions depends/common/libpng/0001-disable-neon-arm-apple.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,8 +92,9 @@
@@ -134,7 +134,7 @@

# Set definitions and sources for ARM.
if(TARGET_ARCH MATCHES "^arm" OR
TARGET_ARCH MATCHES "^aarch64")
- if(TARGET_ARCH MATCHES "^arm64" OR
- TARGET_ARCH MATCHES "^aarch64")
+ if(NOT APPLE AND
+ (TARGET_ARCH MATCHES "^arm64" OR
+ TARGET_ARCH MATCHES "^aarch64"))
if(TARGET_ARCH MATCHES "^(ARM|arm|aarch)")
- if(TARGET_ARCH MATCHES "^(ARM64|arm64|aarch64)")
+ if(NOT APPLE AND TARGET_ARCH MATCHES "^(ARM64|arm64|aarch64)")
set(PNG_ARM_NEON_POSSIBLE_VALUES on off)
set(PNG_ARM_NEON "on"
CACHE STRING "Enable ARM NEON optimizations: on|off; on is default")

10 changes: 0 additions & 10 deletions depends/common/libpng/0002-fix-cmake-install.patch

This file was deleted.

2 changes: 1 addition & 1 deletion depends/common/libpng/libpng.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a00e9d2f2f664186e4202db9299397f851aea71b36a35e74910b8820e380d441
fecc95b46cf05e8e3fc8a414750e0ba5aad00d89e9fdf175e94ff041caf1a03a
2 changes: 1 addition & 1 deletion depends/common/libpng/libpng.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libpng https://github.com/glennrp/libpng/archive/refs/tags/v1.6.39.tar.gz
libpng https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.43.tar.gz

0 comments on commit 98e28d0

Please sign in to comment.