pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libimagequant Use awk instead of relying on G...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f6a481b18438
branches: trunk
changeset: 360186:f6a481b18438
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Mar 27 13:14:49 2017 +0000
description:
Use awk instead of relying on GNU grep features.
diffstat:
graphics/libimagequant/distinfo | 4 ++--
graphics/libimagequant/patches/patch-configure | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 17a7116d1416 -r f6a481b18438 graphics/libimagequant/distinfo
--- a/graphics/libimagequant/distinfo Mon Mar 27 12:54:59 2017 +0000
+++ b/graphics/libimagequant/distinfo Mon Mar 27 13:14:49 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2017/03/22 02:13:05 adam Exp $
+$NetBSD: distinfo,v 1.3 2017/03/27 13:14:49 jperkin Exp $
SHA1 (libimagequant-2.9.0.tar.gz) = 3ee01906a5d1660364c23cc2d3d2eb2458f5da8b
RMD160 (libimagequant-2.9.0.tar.gz) = 7c2f5ea0d5faae2d5737bc58873be88706e3f536
SHA512 (libimagequant-2.9.0.tar.gz) = dcd6009acfbf8af56121d636dc6bf65f34024452425323dc7e03454a2e39fa66448b864693bbaf2e2513bdf200ae51877e68ba12017bfd413e8ff18f21ecf2ac
Size (libimagequant-2.9.0.tar.gz) = 63765 bytes
SHA1 (patch-Makefile) = e1bd81385c268e104c9bf8c119c28831ba023d08
-SHA1 (patch-configure) = 94366657d4b524849b9098ecc1490309407716cc
+SHA1 (patch-configure) = 361a1be4c617485d3cb1cac96b5f6f28b4b653a7
diff -r 17a7116d1416 -r f6a481b18438 graphics/libimagequant/patches/patch-configure
--- a/graphics/libimagequant/patches/patch-configure Mon Mar 27 12:54:59 2017 +0000
+++ b/graphics/libimagequant/patches/patch-configure Mon Mar 27 13:14:49 2017 +0000
@@ -1,9 +1,18 @@
-$NetBSD: patch-configure,v 1.2 2017/03/22 02:13:05 adam Exp $
+$NetBSD: patch-configure,v 1.3 2017/03/27 13:14:49 jperkin Exp $
Remove unwanted compiler flags.
--- configure.orig 2017-03-02 01:07:29.000000000 +0000
+++ configure
+@@ -2,7 +2,7 @@
+
+ CONFIG="config.mk"
+ PREFIX="/usr/local"
+-VERSION=$(grep LIQ_VERSION_STRING libimagequant.h | grep -Eo "2\.[0-9.]+")
++VERSION=$(awk -F\" '/LIQ_VERSION_STRING/ {print $2}' libimagequant.h)
+
+ DEBUG=
+ SSE=auto
@@ -128,7 +128,7 @@ cflags "-std=c99 -I."
# DEBUG
Home |
Main Index |
Thread Index |
Old Index