Update to pngcrush-1.8.12.

This commit is contained in:
benoit 2017-08-01 19:53:27 +00:00
parent ebdbb78b5b
commit 168387d58f
3 changed files with 36 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.91 2017/01/16 15:23:14 benoit Exp $
# $OpenBSD: Makefile,v 1.92 2017/08/01 19:53:27 benoit Exp $
COMMENT = optimizer for PNG files
DISTNAME = pngcrush-1.8.11
DISTNAME = pngcrush-1.8.12
CATEGORIES = graphics
HOMEPAGE = http://pmt.sourceforge.net/pngcrush/

View File

@ -1,2 +1,2 @@
SHA256 (pngcrush-1.8.11.tar.gz) = zKZZq74THUWndC6Xws0OaRKY2FkIq8VeFbFQYyazsZU=
SIZE (pngcrush-1.8.11.tar.gz) = 539457
SHA256 (pngcrush-1.8.12.tar.gz) = gRqM37EFUZo9v0Y2ziW1nOLkmWGsi2oMkFJAy1iMl+w=
SIZE (pngcrush-1.8.12.tar.gz) = 559760

View File

@ -1,20 +1,45 @@
$OpenBSD: patch-Makefile,v 1.3 2016/11/21 14:30:52 benoit Exp $
--- Makefile.orig Mon Oct 24 01:07:25 2016
+++ Makefile Mon Nov 21 15:23:22 2016
@@ -52,13 +52,13 @@ ZOBJS = adler32$(O) compress$(O) crc32$(O) deflate$(O
$OpenBSD: patch-Makefile,v 1.4 2017/08/01 19:53:27 benoit Exp $
--- Makefile.orig Thu Mar 16 18:24:24 2017
+++ Makefile Tue Aug 1 21:48:01 2017
@@ -19,7 +19,7 @@
# On some platforms you might need to comment this out:
CFLAGS += -std=c90
-CFLAGS += -O3 -funroll-loops -fomit-frame-pointer
+#CFLAGS += -O3 -funroll-loops -fomit-frame-pointer
# use unified libpng:
CPPFLAGS = -DLIBPNG_UNIFIED
@@ -52,24 +52,24 @@
trees$(O) uncompr$(O) zutil$(O)
# Enable ARM_NEON support
-CPPFLAGS += -DPNGCRUSH_USE_ARM_NEON
+# CPPFLAGS += -DPNGCRUSH_USE_ARM_NEON
+#CPPFLAGS += -DPNGCRUSH_USE_ARM_NEON
# Disable ARM_NEON support
-# CPPFLAGS += -DPNG_ARM_NEON_OPT=0
+CPPFLAGS += -DPNG_ARM_NEON_OPT=0
# Enable MIPS-NSA support
-CPPFLAGS += -DPNGCRUSH_USE_MPS_MSA
+# CPPFLAGS += -DPNGCRUSH_USE_MPS_MSA
+#CPPFLAGS += -DPNGCRUSH_USE_MPS_MSA
# Disable MIPS-NSA support
-# CPPFLAGS += -DPNG_MIPS_MSA_OPT=0
+CPPFLAGS += -DPNG_MIPS_MSA_OPT=0
# Enable INTEL SSE support
-CPPFLAGS += -DPNGCRUSH_USE_INTEL_SSE -DPNG_INTEL_SSE
+# CPPFLAGS += -DPNGCRUSH_USE_INTEL_SSE -DPNG_INTEL_SSE
+#CPPFLAGS += -DPNGCRUSH_USE_INTEL_SSE -DPNG_INTEL_SSE
# Disable INTEL SSE support
-# CPPFLAGS += -DPNG_INTEL_SSE_OPT=0
+CPPFLAGS += -DPNG_INTEL_SSE_OPT=0
# Enable POWERPC_VSX support
-CPPFLAGS += -DPNGCRUSH_USE_POWERPC_VSX
+#CPPFLAGS += -DPNGCRUSH_USE_POWERPC_VSX
# Disable POWERPC_VSX support
-# CPPFLAGS += -DPNG_POWERPC_VSX_OPT=0
+CPPFLAGS += -DPNG_POWERPC_VSX_OPT=0
# unified libpng with separate zlib *.o
OBJS = pngcrush$(O) $(ZOBJS)