pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mpop Reorder stupid gnulib header to fix build on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/312744b19610
branches:  trunk
changeset: 536891:312744b19610
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 17:59:53 2007 +0000

description:
Reorder stupid gnulib header to fix build on DragonFly.

diffstat:

 mail/mpop/distinfo         |   3 ++-
 mail/mpop/patches/patch-aa |  35 +++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r b80bb0d26211 -r 312744b19610 mail/mpop/distinfo
--- a/mail/mpop/distinfo        Thu Dec 27 17:46:53 2007 +0000
+++ b/mail/mpop/distinfo        Thu Dec 27 17:59:53 2007 +0000
@@ -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 -r b80bb0d26211 -r 312744b19610 mail/mpop/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mpop/patches/patch-aa        Thu Dec 27 17:59:53 2007 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index