summaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-tcl_shader.tcl
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-10-10 14:49:28 +0000
committerJohn Marino <marino@FreeBSD.org>2015-10-10 14:49:28 +0000
commit818a717d936e3576105df8544a87d8ead64a4af7 (patch)
treec2c1d26736e72cf453578762fd95872141fd4eee /graphics/ayam/files/patch-tcl_shader.tcl
parentUpdate ImageMagick to 6.9.2-4. (diff)
graphics/ayam: upgrade version 1.20 => 1.22
I reverted most of the changes from 1-step to compound installation commands. PR: 199232 Submitted by: ports fury
Diffstat (limited to 'graphics/ayam/files/patch-tcl_shader.tcl')
-rw-r--r--graphics/ayam/files/patch-tcl_shader.tcl21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/ayam/files/patch-tcl_shader.tcl b/graphics/ayam/files/patch-tcl_shader.tcl
new file mode 100644
index 000000000000..de1d848d8098
--- /dev/null
+++ b/graphics/ayam/files/patch-tcl_shader.tcl
@@ -0,0 +1,21 @@
+--- tcl/shader.tcl.orig 2015-06-23 18:03:50 UTC
++++ tcl/shader.tcl
+@@ -76,14 +76,14 @@
+
+ foreach p $spathstr {
+ set files [glob -nocomplain "${p}/*${sext}"]
+- append allfiles "$files "
++ append temp "$files "
+ }
+
+ set allshaders ""
+- foreach f $allfiles {
++ foreach s $temp {
+ # silently omit unreadable shader files
+- if {[file readable $f]} {
+- lappend allshaders $f
++ if {[file readable $s]} {
++ lappend allshaders $s
+ }
+ }
+ # foreach