mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
libaacs: add patch to support bison-2.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ceb2281361
commit
f328373fee
@ -0,0 +1,30 @@
|
|||||||
|
diff -Naur libaacs-0.4.0-old/src/file/keydbcfg-parser.y libaacs-0.4.0-new/src/file/keydbcfg-parser.y
|
||||||
|
--- libaacs-0.4.0-old/src/file/keydbcfg-parser.y 2012-05-04 04:23:42.000000000 -0700
|
||||||
|
+++ libaacs-0.4.0-new/src/file/keydbcfg-parser.y 2012-07-21 19:20:14.000000000 -0700
|
||||||
|
@@ -1,4 +1,8 @@
|
||||||
|
-%{
|
||||||
|
+%code requires {
|
||||||
|
+#include "file/keydbcfg.h"
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+%code {
|
||||||
|
/*
|
||||||
|
* This file is part of libaacs
|
||||||
|
* Copyright (C) 2010 gates
|
||||||
|
@@ -18,7 +22,6 @@
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
-#include "file/keydbcfg.h"
|
||||||
|
#include "util/macro.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
@@ -85,7 +88,7 @@
|
||||||
|
|
||||||
|
/* uncomment the line below for debugging */
|
||||||
|
// int yydebug = 1;
|
||||||
|
-%}
|
||||||
|
+}
|
||||||
|
/* Options set to generate a reentrant parser that is POSIX yacc compatible
|
||||||
|
* The basic 'scanner' parameters are set. Also, another parameter is set
|
||||||
|
* to pass in a title entry list struct used to hold all title entries.
|
Loading…
x
Reference in New Issue
Block a user