pngquant: update to pngquant-2.12.0

This commit is contained in:
MilhouseVH 2018-06-04 17:52:42 +01:00
parent 330aad44de
commit 7437826b49
2 changed files with 2 additions and 31 deletions

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pngquant"
PKG_VERSION="2.11.7"
PKG_SHA256="d70b46c3335c7abf21944aced2d9d2b54819ab84ed1a140b354d5e8cc9f0fb0a"
PKG_VERSION="2.12.0"
PKG_SHA256="0e540c64bb58c05f2a05b4eaf1d3d165f0d3278500f15abfeac47f93f8fa8fa8"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://pngquant.org"

View File

@ -1,29 +0,0 @@
From: Kornel <kornel@geekhood.net>
Date: Mon, 14 May 2018 10:37:34 +0100
Subject: [PATCH] Non-writable /tmp is a thing
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 7a609659..0a2b73e8 100755
--- a/configure
+++ b/configure
@@ -271,13 +271,15 @@ error() {
echo
# /tmp, because mingw has problems opening /dev/null and gives false negative
-if ! echo "int main(){}" | "$CC" -xc -std=c99 -o /tmp/gcccheck - > /dev/null; then
+if ! echo "int main(){}" | "$CC" -xc -std=c99 -o pngquant-gcccheck - > /dev/null; then
+ rm -f pngquant-gcccheck
if [ "$SKIP_CC_CHECK" -eq 1 ]; then
status "Compiler" "$CC failed to compile anything (make sure it's installed and supports C99)"
else
error "Compiler" "$CC failed to compile anything (make sure it's installed and supports C99)"
fi
fi
+rm -f pngquant-gcccheck
status "Compiler" "$CC"