pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/graphviz Handle any non-bash shell with $RAND...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a0cae1a89f9
branches: trunk
changeset: 364664:8a0cae1a89f9
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jul 03 13:01:34 2017 +0000
description:
Handle any non-bash shell with $RANDOM as bsh, i.e. don't use the ksh
optimizations. Fixing build on NetBSD 8.99+
diffstat:
graphics/graphviz/distinfo | 3 ++-
graphics/graphviz/patches/patch-iffe | 26 ++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 69fbf7956099 -r 8a0cae1a89f9 graphics/graphviz/distinfo
--- a/graphics/graphviz/distinfo Mon Jul 03 12:36:35 2017 +0000
+++ b/graphics/graphviz/distinfo Mon Jul 03 13:01:34 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2017/05/22 11:19:20 adam Exp $
+$NetBSD: distinfo,v 1.59 2017/07/03 13:01:34 joerg Exp $
SHA1 (graphviz-2.40.1.tar.gz) = 8a44d19bcdb50df1bd8e649de472ebf868468888
RMD160 (graphviz-2.40.1.tar.gz) = 8fc103fc519e07e9db522ec2f748838571c71acf
@@ -8,6 +8,7 @@
SHA1 (patch-config_config__perl.pl) = 85d535282a819c1055386244f7b520387d0ddbb1
SHA1 (patch-configure) = 2e541e065a594093f54e47d5a24972367405bec1
SHA1 (patch-configure.ac) = c02e7e2ab65cb5df8bcf15c1bbed0e673480bd3f
+SHA1 (patch-iffe) = f32c6be65209e57a92c215dee25c5c8334142c03
SHA1 (patch-lib_gvc_Makefile.in) = f469c2dc53cf9af5b1e86f5da04bf9575685bd41
SHA1 (patch-plugin_gs_gvloadimage__gs.c) = b5b46a1e7dc52f163526c5b8b7e1b893d5500e3c
SHA1 (patch-plugin_quartz_Makefile.in) = 1712a43849137c23e94f3eeb2ae9b86938bd4980
diff -r 69fbf7956099 -r 8a0cae1a89f9 graphics/graphviz/patches/patch-iffe
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/graphviz/patches/patch-iffe Mon Jul 03 13:01:34 2017 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-iffe,v 1.1 2017/07/03 13:01:34 joerg Exp $
+
+It's not ksh just it has $RANDOM and no $BASH_VERSION.
+
+--- iffe.orig 2017-07-02 22:22:03.587308788 +0000
++++ iffe
+@@ -452,16 +452,11 @@ protoflags=
+ puthdr=
+ putlib=
+ pragma=
+-case $RANDOM in
+-$RANDOM)shell=bsh
++case $BASH_VERSION in
++?*) shell=bash ;;
++*) shell=bsh
+ ($executable .) 2>/dev/null || executable='test -r'
+ ($exists .) 2>/dev/null || exists='test -r'
+- ;;
+-*) case $BASH_VERSION in
+- ?*) shell=bash ;;
+- *) shell=ksh ;;
+- esac
+- ;;
+ esac
+ reallystatic=
+ reallystatictest=
Home |
Main Index |
Thread Index |
Old Index