iproute2/Revert-tc-ematch-fix-deprecated-yacc-warning.patch

27 lines
648 B
Diff

From: Michal Kubecek <mkubecek@suse.cz>
Date: Mon, 13 May 2019 11:09:08 +0200
Subject: Revert "tc/ematch: fix deprecated yacc warning"
Patch-mainline: Never, build fix for older distributions
This reverts commit 38983334f6d59318f40cda5cab771a92c2510695.
For SLE <= 12 and openSUSE 42.3 only. Their bison (version 2.7) does not
recognize new syntax.
---
tc/emp_ematch.y | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/tc/emp_ematch.y
+++ b/tc/emp_ematch.y
@@ -8,8 +8,8 @@
%locations
%token-table
-%define parse.error verbose
-%define api.prefix {ematch_}
+%error-verbose
+%name-prefix "ematch_"
%union {
unsigned int i;