diff --git a/packages/multimedia/libaacs/patches/libaacs-0.4.0-bison_2.6.patch b/packages/multimedia/libaacs/patches/libaacs-0.4.0-bison_2.6.patch new file mode 100644 index 0000000000..698692c4bd --- /dev/null +++ b/packages/multimedia/libaacs/patches/libaacs-0.4.0-bison_2.6.patch @@ -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 @@ + * . + */ + +-#include "file/keydbcfg.h" + #include "util/macro.h" + + #include +@@ -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.