From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libaacs/files: bison_2.6.patch |
Date: | Wed, 22 Aug 2012 15:15:16 |
Message-Id: | 20120822151456.669C72035F@flycatcher.gentoo.org |
1 | aballier 12/08/22 15:14:56 |
2 | |
3 | Added: bison_2.6.patch |
4 | Log: |
5 | Version bump and import a patch from Openelec.tv to build with bison 2.6, bug #430458 |
6 | |
7 | (Portage version: 2.2.0_alpha121/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/libaacs/files/bison_2.6.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libaacs/files/bison_2.6.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libaacs/files/bison_2.6.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bison_2.6.patch |
16 | =================================================================== |
17 | Patch grabbed from OpenELEC.tv: support bison-2.6 |
18 | |
19 | |
20 | |
21 | commit f328373fee79971b8e5754ab05a182cb544b0e7f |
22 | Author: Stephan Raue <stephan@××××××××.tv> |
23 | Date: Mon Jul 23 15:39:17 2012 +0200 |
24 | |
25 | diff -Naur libaacs-0.4.0-old/src/file/keydbcfg-parser.y libaacs-0.4.0-new/src/file/keydbcfg-parser.y |
26 | --- libaacs-0.4.0-old/src/file/keydbcfg-parser.y 2012-05-04 04:23:42.000000000 -0700 |
27 | +++ libaacs-0.4.0-new/src/file/keydbcfg-parser.y 2012-07-21 19:20:14.000000000 -0700 |
28 | @@ -1,4 +1,8 @@ |
29 | -%{ |
30 | +%code requires { |
31 | +#include "file/keydbcfg.h" |
32 | +} |
33 | + |
34 | +%code { |
35 | /* |
36 | * This file is part of libaacs |
37 | * Copyright (C) 2010 gates |
38 | @@ -18,7 +22,6 @@ |
39 | * <http://www.gnu.org/licenses/>. |
40 | */ |
41 | |
42 | -#include "file/keydbcfg.h" |
43 | #include "util/macro.h" |
44 | |
45 | #include <stdio.h> |
46 | @@ -85,7 +88,7 @@ |
47 | |
48 | /* uncomment the line below for debugging */ |
49 | // int yydebug = 1; |
50 | -%} |
51 | +} |
52 | /* Options set to generate a reentrant parser that is POSIX yacc compatible |
53 | * The basic 'scanner' parameters are set. Also, another parameter is set |
54 | * to pass in a title entry list struct used to hold all title entries. |