summaryrefslogtreecommitdiff
path: root/databases/mysql5-server/patches/patch-ad
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-10-31 09:22:26 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-10-31 09:22:26 +0000
commit32384a665379e27a38135a9b4b082b4fd1132a67 (patch)
treed5d0d86b40b0512acc5c9b2a406547b44d97750b /databases/mysql5-server/patches/patch-ad
parentb807afcc11810b75909b187755e0907b8df416f3 (diff)
downloadpkgsrc-32384a665379e27a38135a9b4b082b4fd1132a67.tar.gz
Initial import of mysql5-server-5.0.15.
MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL server programs and libraries.
Diffstat (limited to 'databases/mysql5-server/patches/patch-ad')
-rw-r--r--databases/mysql5-server/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql5-server/patches/patch-ad b/databases/mysql5-server/patches/patch-ad
new file mode 100644
index 00000000000..0f1603af9b9
--- /dev/null
+++ b/databases/mysql5-server/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $
+
+--- sql/mysqld.cc.orig 2005-10-17 03:27:30.000000000 +0200
++++ sql/mysqld.cc 2005-10-31 09:57:13.000000000 +0100
+@@ -171,7 +171,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;
+@@ -3276,7 +3276,7 @@
+ init_ssl();
+
+ #ifdef HAVE_LIBWRAP
+- libwrapName= my_progname+dirname_length(my_progname);
++ libwrapName= (char *)my_progname+dirname_length(my_progname);
+ openlog(libwrapName, LOG_PID, LOG_AUTH);
+ #endif
+