pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/shared-mime-info Patch away a use of the non...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e22e44c22959
branches:  trunk
changeset: 411081:e22e44c22959
user:      he <he%pkgsrc.org@localhost>
date:      Wed Feb 05 08:04:17 2020 +0000

description:
Patch away a use of the non-standard == as operator for the test command.

diffstat:

 databases/shared-mime-info/distinfo                  |   3 ++-
 databases/shared-mime-info/patches/patch-Makefile.in |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 296df97ff414 -r e22e44c22959 databases/shared-mime-info/distinfo
--- a/databases/shared-mime-info/distinfo       Wed Feb 05 06:18:45 2020 +0000
+++ b/databases/shared-mime-info/distinfo       Wed Feb 05 08:04:17 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.34 2018/08/16 12:45:23 wiz Exp $
+$NetBSD: distinfo,v 1.35 2020/02/05 08:04:17 he Exp $
 
 SHA1 (shared-mime-info-1.10.tar.xz) = d126fa5a0b16bb5440c6b4c56bf65f83c189e129
 RMD160 (shared-mime-info-1.10.tar.xz) = 2542abd899b372cae77a93dafb8b80b7a097e823
 SHA512 (shared-mime-info-1.10.tar.xz) = efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda
 Size (shared-mime-info-1.10.tar.xz) = 616800 bytes
+SHA1 (patch-Makefile.in) = d7237ae74b408332cbf9e3d50a08118bcbf062b7
 SHA1 (patch-aa) = 2e55e6051412b06b2661f88673cb14154eef2c8a
diff -r 296df97ff414 -r e22e44c22959 databases/shared-mime-info/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/shared-mime-info/patches/patch-Makefile.in      Wed Feb 05 08:04:17 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/02/05 08:04:17 he Exp $
+
+Don't use non-portable test operator ==.
+
+--- Makefile.in.orig   2018-06-28 10:02:41.000000000 +0000
++++ Makefile.in
+@@ -1238,7 +1238,7 @@ check-translations:
+                       RET=1;                                                                          \
+               fi;                                                                                     \
+       done;                                                                                           \
+-      if [ $$RET == 1 ] ; then exit 1; fi
++      if [ $$RET = 1 ] ; then exit 1; fi
+ 
+ update-translations: create-pot
+       @tx pull --all --force --skip



Home | Main Index | Thread Index | Old Index