From 078576068c4dfbf342dff5ed2a6167dca63d2050 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 20 Oct 2002 20:51:22 +0000 Subject: Fix build on -current (don't try and guess about the definition of __size_t), and fix a format string with two many arguments while I'm here. --- ftp/proftpd-devel/files/patch-aj | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ftp/proftpd-devel/files/patch-aj (limited to 'ftp/proftpd-devel/files/patch-aj') diff --git a/ftp/proftpd-devel/files/patch-aj b/ftp/proftpd-devel/files/patch-aj new file mode 100644 index 000000000000..36d670539f78 --- /dev/null +++ b/ftp/proftpd-devel/files/patch-aj @@ -0,0 +1,11 @@ +--- include/glibc-glob.h.orig Sun Oct 20 13:43:44 2002 ++++ include/glibc-glob.h Sun Oct 20 13:48:38 2002 +@@ -50,7 +50,7 @@ + #endif + + /* We need `size_t' for the following definitions. */ +-#ifndef __size_t ++#if !defined(__size_t) && !defined(__FreeBSD__) + # if defined __GNUC__ && __GNUC__ >= 2 + typedef __SIZE_TYPE__ __size_t; + # ifdef _XOPEN_SOURCE -- cgit v1.2.3