summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-09-11 15:19:22 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-09-11 15:19:22 +0000
commit968e984766f9781cdf9bc972496446816448dfbe (patch)
treebcaed37fb95aa99352ebcdaa8ea93720f677e5f9 /ftp
parentupdate to 0.4.1 (diff)
Fix build with mysql-5.0.24a
Reported by: s.klaasen@hccnet.nl, Chris Riley <criley@risanet.com> Patch by: mnag
Notes
Notes: svn path=/head/; revision=172783
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pure-ftpd/files/patch-src_log_mysql_p.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/pure-ftpd/files/patch-src_log_mysql_p.h b/ftp/pure-ftpd/files/patch-src_log_mysql_p.h
new file mode 100644
index 000000000000..c7ba8ffd52e5
--- /dev/null
+++ b/ftp/pure-ftpd/files/patch-src_log_mysql_p.h
@@ -0,0 +1,11 @@
+--- src/log_mysql_p.h.orig Mon Sep 11 11:57:13 2006
++++ src/log_mysql_p.h Mon Sep 11 11:57:23 2006
+@@ -3,6 +3,8 @@
+
+ #include <mysql.h>
+
++typedef unsigned long ulong;
++
+ #ifdef MYSQL_VERSION_ID
+ # if MYSQL_VERSION_ID < 32224
+ # define mysql_field_count(X) mysql_num_fields(X)