Files
pkgsrc-ng/databases/mysql5-server/patches/patch-ca
2013-09-26 17:14:40 +02:00

18 lines
622 B
Plaintext

$NetBSD: patch-ca,v 1.5 2012/04/14 04:04:48 taca Exp $
* Before calling sigsend(), make sure the function actuall exists.
Fixes the build on NetBSD >= 4.99.49, in which the macro P_MYID
is defined somewhere unrelated to signals.
--- configure.in.orig 2011-01-25 11:27:51.000000000 +0000
+++ configure.in
@@ -2051,7 +2060,7 @@ AC_CHECK_HEADERS(varargs.h stdarg.h dire
paths.h semaphore.h)
# Already-done: strcasecmp
-AC_CHECK_FUNCS(lstat putenv select setenv setlocale strcoll tcgetattr)
+AC_CHECK_FUNCS(lstat putenv select setenv setlocale sigsend strcoll tcgetattr)
AC_STAT_MACROS_BROKEN
MYSQL_SIGNAL_CHECK