ports/net/xorp/files/patch-xrl__scripts__Xif__parse.py
Hiroki Sato 0a0906700b - Use USE_GITHUB.
- Add USE_LDCONFIG when SHARED is enabled.
- Use OPTIONS_SUB.
- Use {opt}_FOO wherever possible.
- Normalize patch files.
- Take maintainership.
2015-09-07 19:04:23 +00:00

14 lines
472 B
Python

--- xrl/scripts/Xif/parse.py.orig 2012-01-11 17:56:10 UTC
+++ xrl/scripts/Xif/parse.py
@@ -71,8 +71,10 @@ def parse_cpp_hash(line):
pop_file()
pop_file()
push_file(file, line)
+ elif (flag == "3") or (flag == "4"):
+ print "Pre-processor #line flag (%s)" % flag
else:
- print "Invalid pre-processor #line flag (%d)\n", flag
+ print "Invalid pre-processor #line flag (%s)" % flag
sys.exit(1)
return 1