summaryrefslogtreecommitdiff
path: root/mail/mpop
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-27 17:59:53 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-27 17:59:53 +0000
commit058c7d12fe3a434991ec508f604363a7655cfbce (patch)
tree76b1ff50932b004497253c3d2277d827485fd157 /mail/mpop
parentc1ef44e2757f5654905e40f1ef0ae07f1eb8075f (diff)
downloadpkgsrc-058c7d12fe3a434991ec508f604363a7655cfbce.tar.gz
Reorder stupid gnulib header to fix build on DragonFly.
Diffstat (limited to 'mail/mpop')
-rw-r--r--mail/mpop/distinfo3
-rw-r--r--mail/mpop/patches/patch-aa35
2 files changed, 37 insertions, 1 deletions
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 <sys/bitypes.h>
+ #endif
+
+-#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS
+-
+-/* Get WCHAR_MIN, WCHAR_MAX. */
+-# if ! (defined WCHAR_MIN && defined WCHAR_MAX)
+-# include <wchar.h>
+-# 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 <wchar.h>
++# endif
++
++#endif
++
+ #endif /* _GL_STDINT_H */
+ #endif /* !defined _GL_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */