From 058c7d12fe3a434991ec508f604363a7655cfbce Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 27 Dec 2007 17:59:53 +0000 Subject: Reorder stupid gnulib header to fix build on DragonFly. --- mail/mpop/distinfo | 3 ++- mail/mpop/patches/patch-aa | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 mail/mpop/patches/patch-aa (limited to 'mail') diff --git a/mail/mpop/distinfo b/mail/mpop/distinfo index d295cb590c4..b6ef33b483c 100644 --- a/mail/mpop/distinfo +++ b/mail/mpop/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2007/12/01 17:22:22 reed Exp $ +$NetBSD: distinfo,v 1.5 2007/12/27 17:59:53 joerg Exp $ SHA1 (mpop-1.0.12.tar.bz2) = 4618832ddbc84a7f00e8222d1a92ef2ae1f5c60f RMD160 (mpop-1.0.12.tar.bz2) = 7e6b609cf59535a67653040a09f2d58aa55cd6cd Size (mpop-1.0.12.tar.bz2) = 732061 bytes +SHA1 (patch-aa) = 79a89fb4e3a64d5c40df00fba498ce44819f472f diff --git a/mail/mpop/patches/patch-aa b/mail/mpop/patches/patch-aa new file mode 100644 index 00000000000..57ab6549202 --- /dev/null +++ b/mail/mpop/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.3 2007/12/27 17:59:53 joerg Exp $ + +--- gnulib/stdint.in.h.orig 2007-12-27 16:11:09.000000000 +0000 ++++ gnulib/stdint.in.h +@@ -82,15 +82,6 @@ + # include + #endif + +-#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS +- +-/* Get WCHAR_MIN, WCHAR_MAX. */ +-# if ! (defined WCHAR_MIN && defined WCHAR_MAX) +-# include +-# endif +- +-#endif +- + /* Minimum and maximum values for a integer type under the usual assumption. + Return an unspecified value if BITS == 0, adding a check to pacify + picky compilers. */ +@@ -512,5 +503,14 @@ typedef int _verify_intmax_size[2 * (siz + + #endif /* !defined __cplusplus || defined __STDC_CONSTANT_MACROS */ + ++#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS ++ ++/* Get WCHAR_MIN, WCHAR_MAX. */ ++# if ! (defined WCHAR_MIN && defined WCHAR_MAX) ++# include ++# endif ++ ++#endif ++ + #endif /* _GL_STDINT_H */ + #endif /* !defined _GL_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ -- cgit v1.2.3