]> git.donarmstrong.com Git - lilypond.git/blob - debian/patches/0012-remove-spurious-declarations-in-c-tokenize.lex.patch
Bundle our own private copy of guile-1.8
[lilypond.git] / debian / patches / 0012-remove-spurious-declarations-in-c-tokenize.lex.patch
1 From 57d98d6142d490332839ec261a2a4d01c31de4a4 Mon Sep 17 00:00:00 2001
2 From: Andy Wingo <wingo@pobox.com>
3 Date: Fri, 26 Mar 2010 13:20:00 +0100
4 Subject: remove spurious declarations in c-tokenize.lex
5
6 * libguile/c-tokenize.lex: Remove spurious declarations of flex-internal
7   functions, as their prototypes are changing in upstream flex.
8
9 Origin: http://git.savannah.gnu.org/cgit/guile.git/commit/?id=83a7b43bf2bf445af9d2611252deaacb4de7095e
10 Added-by: Rob Browning <rlb@defaultvalue.org>
11 ---
12  THANKS                  |  2 ++
13  libguile/c-tokenize.lex | 14 --------------
14  2 files changed, 2 insertions(+), 14 deletions(-)
15
16 diff --git a/guile18/THANKS b/guile18/THANKS
17 index 48a105a..0a3e84e 100644
18 --- a/guile18/THANKS
19 +++ b/guile18/THANKS
20 @@ -74,6 +74,7 @@ For fixes or providing information which led to a fix:
21              Dan McMahill
22            Roger Mc Murtrie
23            Scott McPeak
24 +         Andrew Milkowski
25              Tim Mooney
26          Han-Wen Nienhuys
27              Jan Nieuwenhuizen
28 @@ -86,6 +87,7 @@ For fixes or providing information which led to a fix:
29             Arno Peters
30             Ron Peterson
31            David Pirotte
32 +         Sergey Poznyakoff
33              Ken Raeburn
34          Andreas Rottmann
35             Hugh Sasse
36 diff --git a/guile18/libguile/c-tokenize.lex b/guile18/libguile/c-tokenize.lex
37 index 938a5d2..dc72257 100644
38 --- a/guile18/libguile/c-tokenize.lex
39 +++ b/guile18/libguile/c-tokenize.lex
40 @@ -24,20 +24,6 @@ INTQUAL              (l|L|ll|LL|lL|Ll|u|U)
41     an error for that. */
42  #define YY_NO_INPUT
43  
44 -int yylex(void);
45 -
46 -int yyget_lineno (void);
47 -FILE *yyget_in (void);
48 -FILE *yyget_out (void);
49 -int yyget_leng (void);
50 -char *yyget_text (void);
51 -void yyset_lineno (int line_number);
52 -void yyset_in (FILE * in_str);
53 -void yyset_out (FILE * out_str);
54 -int yyget_debug (void);
55 -void yyset_debug (int  bdebug);
56 -int yylex_destroy (void);
57
58  int filter_snarfage = 0;
59  int print = 1; 
60