summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-08 11:54:31 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-08 11:56:22 (EDT)
commita3e888d55085188514bf4d62deeae0d2f302d0f0 (patch)
tree13a4f0a8b16124cb541723e742ef5e8178c05db5
parentf4d61c4fa53a96484837a82cc16e401dca27a95d (diff)
Drop empty awk function error patch.
The issue is fixed in busybox.
-rw-r--r--patches/02_fix-empty-awk-function.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/patches/02_fix-empty-awk-function.patch b/patches/02_fix-empty-awk-function.patch
deleted file mode 100644
index 6d3672f..0000000
--- a/patches/02_fix-empty-awk-function.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From: "P. J. McDermott" <pjm@nac.net>
-Description: Fix empty awk function
- gcc/config/i386/i386-builtin-types.awk defines and calls a function named
- "attribute_mode" with zero statements.
- .
- BusyBox awk prints the following error message when building GCC:
- .
- awk: …/gcc/config/i386/i386-builtin-types.awk:164: Call to undefined function
- .
- This seems to be due to lines 2664 and 2665 of editors/awk.c in BusyBox 1.21.0,
- which throw a syntax error if the called function has no nodes in its node
- chain:
- .
- if (!op->r.f->body.first)
- syntax_error(EMSG_UNDEF_FUNC);
-
-diff -Naur src.orig/gcc/config/i386/i386-builtin-types.awk src/gcc/config/i386/i386-builtin-types.awk
---- src.orig/gcc/config/i386/i386-builtin-types.awk 2009-11-25 21:39:42.000000000 -0500
-+++ src/gcc/config/i386/i386-builtin-types.awk 2013-06-18 15:27:57.670059283 -0400
-@@ -38,6 +38,7 @@
- # else
- # print " __attribute__((__mode__(__HI__)))"
- # print "#endif"
-+ dummy = 1
- }
-
- BEGIN {