pkgsrc/databases/mysql51-client/patches/patch-ay
taca 6f294a2ad9 * Install my_compiler.h as public header. It is already fixed in
MySQL's repository.
* Add comments to patches.

Bump PKGREVISION and it fixes P$ pkg/43887.
2010-09-21 15:57:30 +00:00

16 lines
448 B
Text

$NetBSD: patch-ay,v 1.2 2010/09/21 15:57:30 taca Exp $
* Portability: include <bstring.h> if exists.
--- strings/decimal.c.orig 2010-02-04 11:40:24.000000000 +0000
+++ strings/decimal.c
@@ -105,6 +105,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)