diff options
Diffstat (limited to 'cad/rubygem-gdsii/files/patch-bin_rgds-tree')
-rw-r--r-- | cad/rubygem-gdsii/files/patch-bin_rgds-tree | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cad/rubygem-gdsii/files/patch-bin_rgds-tree b/cad/rubygem-gdsii/files/patch-bin_rgds-tree new file mode 100644 index 000000000000..56176848a989 --- /dev/null +++ b/cad/rubygem-gdsii/files/patch-bin_rgds-tree @@ -0,0 +1,30 @@ +--- bin/rgds-tree.orig 2016-05-16 07:41:38 UTC ++++ bin/rgds-tree +@@ -64,11 +64,11 @@ opts = GetoptLong.new( + + opts.each do |option, argument| + case option +- when '--top-structs' : top_structs = argument.split(/\s+/) +- when '--inst-counts' : show_inst_counts = argument +- when '--broken-refs' : broken_refs = argument +- when '--delimiter' : delimiter = argument +- when '--help' : abort usage ++ when '--top-structs' then top_structs = argument.split(/\s+/) ++ when '--inst-counts' then show_inst_counts = argument ++ when '--broken-refs' then broken_refs = argument ++ when '--delimiter' then delimiter = argument ++ when '--help' then abort usage + end + end + +@@ -111,8 +111,8 @@ class HierStruct + else + # broken reference; deal with appropriately + case @broken_refs +- when :annotate : $stdout.puts string + '(MISSING)' +- when :prune : nil ++ when :annotate then $stdout.puts string + '(MISSING)' ++ when :prune then nil + else + $stdout.puts string + @delimiter + struct_name + cnt_suffix + end |