summaryrefslogtreecommitdiff
path: root/cad/rubygem-gdsii/files/patch-bin_rgds2rb
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2016-05-16 17:37:55 +0000
committerHiroki Sato <hrs@FreeBSD.org>2016-05-16 17:37:55 +0000
commit1d72c5f0ffd1c46324c9c4f263d8026b08b8d538 (patch)
treec72e440658d109a5f00be836904723d65460ee87 /cad/rubygem-gdsii/files/patch-bin_rgds2rb
parentAdd cad/py-lcapy, Symbolic MDA Analysis Package for Linear Circuits. (diff)
Add cad/rubygem-gdsii, Ruby library for GDSII reader and writer.
Diffstat (limited to 'cad/rubygem-gdsii/files/patch-bin_rgds2rb')
-rw-r--r--cad/rubygem-gdsii/files/patch-bin_rgds2rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/rubygem-gdsii/files/patch-bin_rgds2rb b/cad/rubygem-gdsii/files/patch-bin_rgds2rb
new file mode 100644
index 000000000000..80370ddb9972
--- /dev/null
+++ b/cad/rubygem-gdsii/files/patch-bin_rgds2rb
@@ -0,0 +1,15 @@
+--- bin/rgds2rb.orig 2016-05-16 07:41:38 UTC
++++ bin/rgds2rb
+@@ -47,9 +47,9 @@ opts = GetoptLong.new(
+
+ opts.each do |option, argument|
+ case option
+- when '--help' : abort usage
+- when '--structs' : structs = argument.split(/\s+/)
+- when '--force' : force = true
++ when '--help' then abort usage
++ when '--structs' then structs = argument.split(/\s+/)
++ when '--force' then force = true
+ end
+ end
+