pkgsrc/databases/mysql4-client/patches/patch-ab
2007-05-23 08:11:48 +00:00

13 lines
477 B
Text

$NetBSD: patch-ab,v 1.2 2007/05/23 08:11:49 martti Exp $
--- sql/mysqld.cc.orig 2006-11-03 04:15:29.000000000 +0200
+++ sql/mysqld.cc 2007-05-23 08:20:22.000000000 +0300
@@ -183,7 +183,7 @@
int initgroups(const char *,unsigned int);
#endif
-#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H)
+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(HAVE_IEEEFP_H)
#include <ieeefp.h>
#ifdef HAVE_FP_EXCEPT // Fix type conflict
typedef fp_except fp_except_t;