Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/ptlib/files: ptlib-2.10.10-mga-bison-parameter.patch
Date: Tue, 29 Apr 2014 07:58:19
Message-Id: 20140429075816.05AF72004C@flycatcher.gentoo.org
1 polynomial-c 14/04/29 07:58:15
2
3 Added: ptlib-2.10.10-mga-bison-parameter.patch
4 Log:
5 Version bumps to fix build with >=sys-devel/bison-3.0 (bug #485842)
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
8
9 Revision Changes Path
10 1.1 net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch?rev=1.1&content-type=text/plain
14
15 Index: ptlib-2.10.10-mga-bison-parameter.patch
16 ===================================================================
17 --- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200
18 +++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100
19 @@ -121,9 +121,9 @@
20 static int yylex();
21
22 #ifdef __GNUC__
23 -static int yyerror(char const *msg);
24 +static int yyerror(void *, char const *msg);
25 #else
26 -static void yyerror(char const *msg);
27 +static void yyerror(void *, char const *msg);
28 #endif
29
30
31 @@ -132,7 +132,8 @@
32
33 %}
34
35 -%pure_parser
36 +%pure-parser
37 +%parse-param {void *parseParam}
38
39 %union {
40 time_t Number;
41 @@ -1018,12 +1019,12 @@
42 #endif
43
44 #ifdef __GNUC__
45 -int yyerror(const char * s)
46 +int yyerror(void *var, const char * s)
47 {
48 return 0;
49 }
50 #else
51 -static void yyerror(const char * s)
52 +static void yyerror(void *var, const char * s)
53 {
54 }
55 #endif