summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-03-12 22:50:30 +0000
committerwiz <wiz@pkgsrc.org>2020-03-12 22:50:30 +0000
commit4d1c2214cf27f69947ec27bfea2da0a2dd7a3aa0 (patch)
tree97005051be2a569b47d9653d4c115e2dac6f09cf /multimedia
parentbd17371f3552d5822799ae6d05789b5f6ac5c73f (diff)
downloadpkgsrc-4d1c2214cf27f69947ec27bfea2da0a2dd7a3aa0.tar.gz
gst-plugins1-base: fix unportable test(1) operator.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gst-plugins1-base/distinfo3
-rw-r--r--multimedia/gst-plugins1-base/patches/patch-Makefile.in15
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/gst-plugins1-base/distinfo b/multimedia/gst-plugins1-base/distinfo
index 8a7c3c3528d..78e4cda1176 100644
--- a/multimedia/gst-plugins1-base/distinfo
+++ b/multimedia/gst-plugins1-base/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.37 2020/01/10 12:47:06 wiz Exp $
+$NetBSD: distinfo,v 1.38 2020/03/12 22:50:30 wiz Exp $
SHA1 (gst-plugins-base-1.16.2.tar.xz) = 7c650c99cd02f8ebc66d7b980a6b33663c71a89d
RMD160 (gst-plugins-base-1.16.2.tar.xz) = 7013e114ed94abe195ae4669a029ea5493015152
SHA512 (gst-plugins-base-1.16.2.tar.xz) = f28e71bba8ba25d4f18ba3a196f057721151f1ebf1309d808bd6771a3f9a68facfa1970dc4353b6f2fd1e8945edf5272854d328ea11ef399544f8b330f754a42
Size (gst-plugins-base-1.16.2.tar.xz) = 3939868 bytes
+SHA1 (patch-Makefile.in) = 415bdaffc5d0cd7543efadb7dca2707afabe98e1
SHA1 (patch-configure) = ccc8c761bf9bae23c97c6085e221d1a387acd651
diff --git a/multimedia/gst-plugins1-base/patches/patch-Makefile.in b/multimedia/gst-plugins1-base/patches/patch-Makefile.in
new file mode 100644
index 00000000000..d9ce26d70bd
--- /dev/null
+++ b/multimedia/gst-plugins1-base/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/03/12 22:50:30 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- Makefile.in.orig 2020-03-12 22:48:59.393433695 +0000
++++ Makefile.in
+@@ -1198,7 +1198,7 @@ download-po: $(top_srcdir)/common/downlo
+ for f in po/*.po; do \
+ num_changed=`git diff $$f | grep -e '^[+-][^+-]' | wc -l`; \
+ num_date=`git diff $$f | grep -e '^[+-][^+-]' | grep POT-Creation-Date | wc -l`; \
+- if [ $num_date == $num_changed ]; then \
++ if [ $num_date = $num_changed ]; then \
+ git checkout $$f; \
+ fi; \
+ done