summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-EOF.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-EOF.patch')
-rw-r--r--debian/patches/dyson-EOF.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/dyson-EOF.patch b/debian/patches/dyson-EOF.patch
new file mode 100644
index 000000000..158a333fb
--- /dev/null
+++ b/debian/patches/dyson-EOF.patch
@@ -0,0 +1,12 @@
+Index: golang/src/cmd/gc/lex.c
+===================================================================
+--- golang.orig/src/cmd/gc/lex.c
++++ golang/src/cmd/gc/lex.c
+@@ -141,6 +141,7 @@ yy_isalnum(int c)
+ #define DBG if(!debug['x']){}else print
+ /*c2go void DBG(char*, ...); */
+
++#undef EOF
+ enum
+ {
+ EOF = -1,