summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/gerbmerge/files/gerbmerge-1.8-fix-main.patch')
-rw-r--r--sci-electronics/gerbmerge/files/gerbmerge-1.8-fix-main.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/sci-electronics/gerbmerge/files/gerbmerge-1.8-fix-main.patch b/sci-electronics/gerbmerge/files/gerbmerge-1.8-fix-main.patch
deleted file mode 100644
index 6e51f61b1..000000000
--- a/sci-electronics/gerbmerge/files/gerbmerge-1.8-fix-main.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/gerbmerge/gerbmerge.py b/gerbmerge/gerbmerge.py
-index 149baca..e3866fc 100644
---- a/gerbmerge/gerbmerge.py
-+++ b/gerbmerge/gerbmerge.py
-@@ -719,7 +719,7 @@ def updateGUI(text = None):
- if GUI != None:
- GUI.updateProgress(text)
-
--if __name__=="__main__":
-+def main():
- try:
- opts, args = getopt.getopt(sys.argv[1:], 'hv', ['help', 'version', 'octagons=', 'random-search', 'full-search', 'rs-fsjobs=', 'search-timeout=', 'place-file=', 'no-trim-gerber', 'no-trim-excellon'])
- except getopt.GetoptError:
-@@ -750,4 +750,7 @@ http://ruggedcircuits.com/gerbmerge
- disclaimer()
-
- sys.exit(merge(opts, args)) ## run germberge
-+
-+if __name__=="__main__":
-+ main()
- # vim: expandtab ts=2 sw=2 ai syntax=python