pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q2]: pkgsrc/graphics/graphviz Pullup ticket #5499 - reques...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eda1a1cc9f53
branches:  pkgsrc-2017Q2
changeset: 408633:eda1a1cc9f53
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Jul 10 19:34:34 2017 +0000

description:
Pullup ticket #5499 - requested by joerg
graphics/graphviz: build fix

Revisions pulled up:
- graphics/graphviz/distinfo                                    1.59
- graphics/graphviz/patches/patch-iffe                          1.1

---
   Module Name: pkgsrc
   Committed By:        joerg
   Date:                Mon Jul  3 13:01:34 UTC 2017

   Modified Files:
        pkgsrc/graphics/graphviz: distinfo
   Added Files:
        pkgsrc/graphics/graphviz/patches: patch-iffe

   Log Message:
   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 d83aa8bc3615 -r eda1a1cc9f53 graphics/graphviz/distinfo
--- a/graphics/graphviz/distinfo        Mon Jul 03 09:37:23 2017 +0000
+++ b/graphics/graphviz/distinfo        Mon Jul 10 19:34:34 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2017/05/22 11:19:20 adam Exp $
+$NetBSD: distinfo,v 1.58.2.1 2017/07/10 19:34:34 bsiegert 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 d83aa8bc3615 -r eda1a1cc9f53 graphics/graphviz/patches/patch-iffe
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/graphviz/patches/patch-iffe      Mon Jul 10 19:34:34 2017 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-iffe,v 1.1.2.2 2017/07/10 19:34:34 bsiegert 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