You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.7 KiB

Index: lib/timevar.c
--- lib/timevar.c.orig 2010-07-26 01:33:12.000000000 +0200
+++ lib/timevar.c 2010-08-06 15:13:37.000000000 +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 2010-08-06 02:37:58.000000000 +0200
+++ data/yacc.c 2010-08-06 15:13:37.000000000 +0200
@@ -1453,7 +1453,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)
yyval = yyvsp[1-yylen];
+else
+ memset(&yyval, 0, sizeof(yyval));
]b4_locations_if(
[[ /* Default location. */
----------------------------------------------------------------------------
Fix for FreeBSD 8 but without breaking Mac OS X 10.6
Index: lib/spawn.in.h
--- lib/spawn.in.h.orig 2010-04-11 20:31:37.000000000 +0200
+++ lib/spawn.in.h 2010-08-06 15:57:36.000000000 +0200
@@ -121,6 +121,7 @@
# define POSIX_SPAWN_SETSCHEDULER 0
# endif
#else
+#if !@HAVE_POSIX_SPAWN@ || defined(__APPLE__)
# if @REPLACE_POSIX_SPAWN@
/* Use the values from the system, for better compatibility. */
/* But this implementation does not support AIX extensions. */
@@ -134,6 +135,7 @@
# define POSIX_SPAWN_SETSCHEDULER 0x20
# endif
#endif
+#endif
/* A GNU extension. Use the next free bit position. */
#define POSIX_SPAWN_USEVFORK \
((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \