From 4ee90514e98535427abaffc96ffa1a54d42f4fec Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 17 Jul 2015 22:23:28 +0300 Subject: Added debian/patches/dyson-EOF.patch --- debian/changelog | 7 +++++++ debian/patches/dyson-EOF.patch | 12 ++++++++++++ debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/patches/dyson-EOF.patch 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 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 -- cgit v1.2.3