michael@22: Index: lib/timevar.c michael@451: --- lib/timevar.c.orig 2010-07-26 01:33:12.000000000 +0200 michael@451: +++ lib/timevar.c 2010-08-06 15:13:37.000000000 +0200 michael@451: @@ -45,6 +45,7 @@ michael@22: # include michael@22: #endif michael@22: #ifdef HAVE_SYS_RESOURCE_H michael@22: +#include michael@22: #include michael@22: #endif michael@22: michael@22: ---------------------------------------------------------------------------- michael@22: michael@22: Security Fix: michael@22: http://undeadly.org/cgi?action=article&sid=20080708155228&mode=flat&count=13 michael@22: michael@22: Index: data/yacc.c michael@451: --- data/yacc.c.orig 2010-08-06 02:37:58.000000000 +0200 michael@451: +++ data/yacc.c 2010-08-06 15:13:37.000000000 +0200 michael@451: @@ -1453,7 +1453,10 @@ michael@22: users should not rely upon it. Assigning to YYVAL michael@22: unconditionally makes the parser a bit smaller, and it avoids a michael@22: GCC warning that YYVAL may be used uninitialized. */ michael@22: +if (yylen) michael@22: yyval = yyvsp[1-yylen]; michael@22: +else michael@22: + memset(&yyval, 0, sizeof(yyval)); michael@22: michael@22: ]b4_locations_if( michael@22: [[ /* Default location. */ michael@22: michael@451: ---------------------------------------------------------------------------- michael@451: michael@451: Fix for FreeBSD 8 but without breaking Mac OS X 10.6 michael@451: michael@451: Index: lib/spawn.in.h michael@451: --- lib/spawn.in.h.orig 2010-04-11 20:31:37.000000000 +0200 michael@451: +++ lib/spawn.in.h 2010-08-06 15:57:36.000000000 +0200 michael@451: @@ -121,6 +121,7 @@ michael@451: # define POSIX_SPAWN_SETSCHEDULER 0 michael@451: # endif michael@451: #else michael@451: +#if !@HAVE_POSIX_SPAWN@ || defined(__APPLE__) michael@451: # if @REPLACE_POSIX_SPAWN@ michael@451: /* Use the values from the system, for better compatibility. */ michael@451: /* But this implementation does not support AIX extensions. */ michael@451: @@ -134,6 +135,7 @@ michael@451: # define POSIX_SPAWN_SETSCHEDULER 0x20 michael@451: # endif michael@451: #endif michael@451: +#endif michael@451: /* A GNU extension. Use the next free bit position. */ michael@451: #define POSIX_SPAWN_USEVFORK \ michael@451: ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \