summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-07-17 22:23:28 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-07-17 22:23:28 +0300
commit4ee90514e98535427abaffc96ffa1a54d42f4fec (patch)
tree789f0323c9bac1871c40d3960d50f9d8b3e0933f
parent02cb056d6da2993e8e0d438de089002b3a7bec09 (diff)
downloadgolang-4ee90514e98535427abaffc96ffa1a54d42f4fec.tar.gz
Added debian/patches/dyson-EOF.patch
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/dyson-EOF.patch12
-rw-r--r--debian/patches/series1
3 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index fa1091430..733fc443a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+golang (2:1.4.2-3+dyson1) UNRELEASED; urgency=medium
+
+ * Package for Dyson
+ * Added debian/patches/dyson-EOF.patch
+
+ -- Igor Pashev <pashev.igor@gmail.com> Fri, 17 Jul 2015 22:22:51 +0300
+
golang (2:1.4.2-3) unstable; urgency=medium
* Add missing "prerm" for our new alternatives (thanks piuparts).
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,
diff --git a/debian/patches/series b/debian/patches/series
index e69de29bb..3233e2c34 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dyson-EOF.patch