Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-strings_decimal.c,v 1.1 2016/09/16 06:49:11 adam Exp $
* Portability: include <bstring.h> if exists.
--- strings/decimal.c.orig 2013-04-05 12:27:17.000000000 +0000
+++ strings/decimal.c
@@ -103,6 +103,9 @@
#include <my_sys.h> /* for my_alloca */
#include <m_string.h>
#include <decimal.h>
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
/*
Internally decimal numbers are stored base 10^9 (see DIG_BASE below)