~ubuntu-branches/ubuntu/maverick/bc/maverick

« back to all changes in this revision

Viewing changes to debian/patch-bug236991

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2004-04-29 20:54:22 UTC
  • Revision ID: james.westby@ubuntu.com-20040429205422-7p6w6hg8d5x5z2tn
Tags: 1.06-15
* configure.in: Patch was supposed to be '-I -8' (Closes: #237957)
* Also ran autoconf2.50 to re-create configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Subject: Bug#236991: FTBFS: bison error
 
2
Date: Mon, 8 Mar 2004 13:50:58 -0800
 
3
From: Matt Kraai <kraai@ftbfs.org>
 
4
To: submit@bugs.debian.org
 
5
Message-ID: <20040308215058.GA507@catalunya>
 
6
 
 
7
Package: bc
 
8
Version: 1.06-12
 
9
Severity: serious
 
10
Tags: patch
 
11
 
 
12
pbuilder fails to build bison:
 
13
 
 
14
 ...
 
15
 bison -y  -d `test -f 'bc.y' || echo './'`bc.y
 
16
 bc.y:82.26: warning: stray `,' treated as white space
 
17
 bc.y:82.32: warning: stray `,' treated as white space
 
18
 bc.y:82.38: warning: stray `,' treated as white space
 
19
 bc.y:82.48: warning: stray `,' treated as white space
 
20
 bc.y:82.55: warning: stray `,' treated as white space
 
21
 bc.y:428.25: syntax error, unexpected "|"
 
22
 bc.y:494.42-43: $3 of `expression' has no declared type
 
23
 bc.y:499.42-43: $3 of `expression' has no declared type
 
24
 bc.y:504.42-43: $3 of `expression' has no declared type
 
25
 bc.y:509.42-43: $3 of `expression' has no declared type
 
26
 bc.y:514.42-43: $3 of `expression' has no declared type
 
27
 bc.y:519.42-43: $3 of `expression' has no declared type
 
28
 bc.y:556.35-36: $3 of `expression' has no declared type
 
29
 bc.y:560.54-55: $3 of `expression' has no declared type
 
30
 bc.y:561.46-47: $3 of `expression' has no declared type
 
31
 make[3]: *** [bc.c] Error 1
 
32
 
 
33
The following patch fixes the error (and the warnings).
 
34
 
 
35
-- 
 
36
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/
 
37
 
 
38
--mYCpIKhGyMATD0i+
 
39
Content-Type: text/plain; charset=us-ascii
 
40
Content-Disposition: attachment; filename=patch
 
41
 
 
42
diff -ru bc-1.06-old/bc/bc.y bc-1.06/bc/bc.y
 
43
--- bc-1.06-old/bc/bc.y 2004-03-08 13:11:38.000000000 -0800
 
44
+++ bc-1.06/bc/bc.y     2004-03-08 13:26:52.000000000 -0800
 
45
@@ -79,7 +79,7 @@
 
46
 /*     'scale', 'ibase', 'obase', 'auto', 'read'       */
 
47
 %token <i_value> Scale    Ibase    Obase    Auto  Read
 
48
 /*     'warranty', 'halt', 'last', 'continue', 'print', 'limits'   */
 
49
-%token <i_value> Warranty, Halt, Last, Continue, Print, Limits
 
50
+%token <i_value> Warranty Halt Last Continue Print Limits
 
51
 /*     'history' */
 
52
 %token <i_value> UNARY_MINUS HistoryVar
 
53
 
 
54
@@ -424,7 +424,6 @@
 
55
                              generate (genstr);
 
56
                              $$ = 0;
 
57
                            }
 
58
-                       ;
 
59
                        | expression AND 
 
60
                            {
 
61
                              warn("&& operator");
 
62
 
 
63
 
 
64
 
 
65