OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Jul-2008 14:43:26
Branch: HEAD Handle: 2008071113432600
Modified files:
openpkg-src/bison bison.patch
Log:
better patch
Summary:
Revision Changes Path
1.6 +17 -12 openpkg-src/bison/bison.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bison/bison.patch
============================================================================
$ cvs diff -u -r1.5 -r1.6 bison.patch
--- openpkg-src/bison/bison.patch 11 Jul 2008 12:41:43 -0000 1.5
+++ openpkg-src/bison/bison.patch 11 Jul 2008 12:43:26 -0000 1.6
@@ -1,3 +1,19 @@
+Index: lib/timevar.c
+--- lib/timevar.c.orig 2006-01-22 08:38:49 +0100
++++ lib/timevar.c 2008-07-11 14:23:48 +0200
+@@ -45,6 +45,7 @@
+ # include <sys/times.h>
+ #endif
+ #ifdef HAVE_SYS_RESOURCE_H
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #endif
+
+----------------------------------------------------------------------------
+
+Security Fix:
+http://undeadly.org/cgi?action=article&sid=20080708155228&mode=flat&count=13
+
Index: data/yacc.c
--- data/yacc.c.orig 2006-05-27 02:28:17 +0200
+++ data/yacc.c 2008-07-11 14:38:26 +0200
@@ -5,21 +21,10 @@
users should not rely upon it. Assigning to YYVAL
unconditionally makes the parser a bit smaller, and it avoids a
GCC warning that YYVAL may be used uninitialized. */
-+if (yylen > 0)
++if (yylen)
yyval = yyvsp[1-yylen];
+else
+ memset(&yyval, 0, sizeof(yyval));
]b4_locations_if(
[[ /* Default location. */
-Index: lib/timevar.c
---- lib/timevar.c.orig 2006-01-22 08:38:49 +0100
-+++ lib/timevar.c 2008-07-11 14:23:48 +0200
-@@ -45,6 +45,7 @@
- # include <sys/times.h>
- #endif
- #ifdef HAVE_SYS_RESOURCE_H
-+#include <sys/time.h>
- #include <sys/resource.h>
- #endif
-
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]