aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-09-11 23:19:22 +0800
committergarga <garga@FreeBSD.org>2006-09-11 23:19:22 +0800
commita59b0013d3596695c2e2a6b86e6f38b74fe27bd6 (patch)
tree7d286c1f72fc28e876cba355244cb1a29ecd4042 /ftp
parent707a952ee6da335f031a22658a707ca764128ca9 (diff)
downloadfreebsd-ports-gnome-a59b0013d3596695c2e2a6b86e6f38b74fe27bd6.tar.gz
freebsd-ports-gnome-a59b0013d3596695c2e2a6b86e6f38b74fe27bd6.tar.zst
freebsd-ports-gnome-a59b0013d3596695c2e2a6b86e6f38b74fe27bd6.zip
Fix build with mysql-5.0.24a
Reported by: s.klaasen@hccnet.nl, Chris Riley <criley@risanet.com> Patch by: mnag
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)