diff options
Diffstat (limited to 'databases/mysql56-client/patches/patch-include_m__string.h')
-rw-r--r-- | databases/mysql56-client/patches/patch-include_m__string.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/mysql56-client/patches/patch-include_m__string.h b/databases/mysql56-client/patches/patch-include_m__string.h new file mode 100644 index 00000000000..c5b4827b9a7 --- /dev/null +++ b/databases/mysql56-client/patches/patch-include_m__string.h @@ -0,0 +1,16 @@ +$NetBSD: patch-include_m__string.h,v 1.1.2.2 2019/09/08 16:55:17 bsiegert Exp $ + +* Stop useless warnings. + +--- include/m_string.h.orig 2019-06-10 10:25:32.000000000 +0000 ++++ include/m_string.h +@@ -43,7 +43,9 @@ + #endif + + #define bfill please_use_memset_rather_than_bfill() ++#ifndef bzero + #define bzero please_use_memset_rather_than_bzero() ++#endif + + #if !defined(HAVE_MEMCPY) && !defined(HAVE_MEMMOVE) + # define memcpy(d, s, n) bcopy ((s), (d), (n)) |