summaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-tcl_shader.tcl
diff options
context:
space:
mode:
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