bison/bison.patch

Sat, 03 Oct 2009 16:18:52 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Oct 2009 16:18:52 +0200
changeset 220
a6cd892638c1
child 451
6fd77f414c36
permissions
-rw-r--r--

Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:

'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'

and

'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'

     1 Index: lib/timevar.c
     2 --- lib/timevar.c.orig	2008-07-14 10:56:12 +0200
     3 +++ lib/timevar.c	2008-11-03 19:16:04 +0100
     4 @@ -42,6 +42,7 @@
     5  # include <sys/times.h>
     6  #endif
     7  #ifdef HAVE_SYS_RESOURCE_H
     8 +#include <sys/time.h>
     9  #include <sys/resource.h>
    10  #endif
    12 ----------------------------------------------------------------------------
    14 Security Fix:
    15 http://undeadly.org/cgi?action=article&sid=20080708155228&mode=flat&count=13
    17 Index: data/yacc.c
    18 --- data/yacc.c.orig	2008-11-02 19:09:10 +0100
    19 +++ data/yacc.c	2008-11-03 19:16:04 +0100
    20 @@ -1444,7 +1444,10 @@
    21       users should not rely upon it.  Assigning to YYVAL
    22       unconditionally makes the parser a bit smaller, and it avoids a
    23       GCC warning that YYVAL may be used uninitialized.  */
    24 +if (yylen)
    25    yyval = yyvsp[1-yylen];
    26 +else
    27 +  memset(&yyval, 0, sizeof(yyval));
    29  ]b4_locations_if(
    30  [[  /* Default location.  */

mercurial