pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/graphviz



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+


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/graphics/graphviz/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/graphviz/patches/patch-iffe

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/graphviz/distinfo
diff -u pkgsrc/graphics/graphviz/distinfo:1.58 pkgsrc/graphics/graphviz/distinfo:1.59
--- pkgsrc/graphics/graphviz/distinfo:1.58      Mon May 22 11:19:20 2017
+++ pkgsrc/graphics/graphviz/distinfo   Mon Jul  3 13:01:34 2017
@@ -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-cmd_lefty_os_unix_io.c) = 48
 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

Added files:

Index: pkgsrc/graphics/graphviz/patches/patch-iffe
diff -u /dev/null pkgsrc/graphics/graphviz/patches/patch-iffe:1.1
--- /dev/null   Mon Jul  3 13:01:34 2017
+++ pkgsrc/graphics/graphviz/patches/patch-iffe Mon Jul  3 13:01:34 2017
@@ -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