guitarix/guitarix-0.28.1-gperf.patch

13 lines
636 B
Diff
Raw Normal View History

2013-10-04 01:54:28 +00:00
diff -Nurp guitarix-0.28.1/tools/make_jsonrpc_methods guitarix-0.28.1.mod/tools/make_jsonrpc_methods
--- guitarix-0.28.1/tools/make_jsonrpc_methods 2013-07-20 11:55:23.000000000 +0200
+++ guitarix-0.28.1.mod/tools/make_jsonrpc_methods 2013-07-21 12:48:30.109255260 +0200
@@ -14,7 +14,7 @@ def add_enums(template_name, hashtable_n
hashtable = open(hashtable_name, "w")
hashtable.write(headline)
hashtable.flush()
- gperf = Popen(gperf_program, stdin=PIPE, stdout=hashtable)
+ gperf = Popen([gperf_program, '-H','gperf_hash'], stdin=PIPE, stdout=hashtable)
enumlist = []
section = 0
in_comment = False