summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormycroft <mycroft>1998-03-07 19:21:36 +0000
committermycroft <mycroft>1998-03-07 19:21:36 +0000
commit097998b469faf52005e38056d717569eccdb4389 (patch)
tree5330ef46d869555807626c629e348d20b77d98db /audio
parente7d663e06528500ab15f38143ecfb5331f6cf47e (diff)
downloadpkgsrc-097998b469faf52005e38056d717569eccdb4389.tar.gz
Use jot(1) rather than bash to generate random numbers, since it will always
be installed.
Diffstat (limited to 'audio')
-rw-r--r--audio/timidity/patches/patch-be11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/timidity/patches/patch-be b/audio/timidity/patches/patch-be
new file mode 100644
index 00000000000..42755dea21f
--- /dev/null
+++ b/audio/timidity/patches/patch-be
@@ -0,0 +1,11 @@
+--- misc.tcl.orig Fri Mar 29 04:19:49 1996
++++ misc.tcl Sat Mar 7 14:17:27 1998
+@@ -207,7 +207,7 @@
+ proc my-random {max} {
+ global pseudo_random
+ if {$pseudo_random} {
+- return [expr [exec bash -c {echo $RANDOM}] % $max]
++ return [exec jot -r 1 0 [expr $max - 1]]
+ } else {
+ return [random $max]
+ }