Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2014-07-28 17:05:06 +02:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379308 additions and 151050 deletions
-4
View File
@@ -51,10 +51,6 @@
/* @(#) Id */
#if defined(__minix) && defined(_STANDALONE)
#include <lib/libkern/libkern.h>
#endif
#include "deflate.h"
const char deflate_copyright[] =
+3 -1
View File
@@ -1,4 +1,4 @@
/* $NetBSD: gzio.c,v 1.3 2011/05/19 22:23:12 tsutsui Exp $ */
/* $NetBSD: gzio.c,v 1.4 2013/11/07 17:26:13 christos Exp $ */
/* gzio.c -- IO on .gz files
* Copyright (C) 1995-2005 Jean-loup Gailly.
@@ -157,6 +157,8 @@ local gzFile gz_open (path, mode, fd)
if (s->mode == 'w') {
#ifdef NO_GZCOMPRESS
err = Z_STREAM_ERROR;
__USE(level);
__USE(strategy);
#else
err = deflateInit2(&(s->stream), level,
Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, strategy);
-4
View File
@@ -12,10 +12,6 @@
inflate_fast() can be used with either inflate.c or infback.c.
*/
#if defined(__minix) && defined(_STANDALONE)
#include <lib/libkern/libkern.h>
#endif
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
-4
View File
@@ -82,10 +82,6 @@
* The history for versions after 1.2.0 are in ChangeLog in zlib distribution.
*/
#if defined(__minix) && defined(_STANDALONE)
#include <lib/libkern/libkern.h>
#endif
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
+1 -3
View File
@@ -18,13 +18,12 @@
#define ZLIB_INTERNAL
#include "zlib.h"
#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE))
#if (defined(__minix) || defined(__NetBSD__)) && (defined(_KERNEL) || defined(_STANDALONE))
/* XXX doesn't seem to need anything at all, but this is for consistency. */
# include <lib/libkern/libkern.h>
#else
#if defined(__minix) && !defined(_STANDALONE)
#ifdef STDC
# ifndef _WIN32_WCE
# include <stddef.h>
@@ -47,7 +46,6 @@
# include <errno.h>
# endif
#endif
#endif /* defined(__minix) && !defined(_STANDALONE) */
#endif /* __NetBSD__ && (_KERNEL || _STANDALONE) */
#ifndef local