From 16527ab779b0fda100e27735f52db91719896619 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 19 Aug 2019 20:51:06 +0000 Subject: [PATCH] Fix bison warning src/parser.y:63.1-25: warning: deprecated directive, use '%define api.prefix {plproxy_yy}' [-Wdeprecated] 63 | %name-prefix="plproxy_yy" | ^~~~~~~~~~~~~~~~~~~~~~~~~ --- databases/postgresql-plproxy/files/patch-src-parser.y | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/postgresql-plproxy/files/patch-src-parser.y diff --git a/databases/postgresql-plproxy/files/patch-src-parser.y b/databases/postgresql-plproxy/files/patch-src-parser.y new file mode 100644 index 000000000000..239e8d253611 --- /dev/null +++ b/databases/postgresql-plproxy/files/patch-src-parser.y @@ -0,0 +1,11 @@ +--- src/parser.y.orig 2017-10-08 08:53:35 UTC ++++ src/parser.y +@@ -60,7 +60,7 @@ static void reset_parser_vars(void) + * same range of Bison versions that are supported also + * by PostgreSQL. + */ +-%name-prefix="plproxy_yy" ++%define api.prefix {plproxy_yy} + + %token CONNECT CLUSTER RUN ON ALL ANY SELECT + %token IDENT NUMBER FNCALL SPLIT STRING