pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scmcvs Fixes build on SUA 6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52ecccbd7ec6
branches:  trunk
changeset: 585324:52ecccbd7ec6
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 12 01:58:54 2011 +0000

description:
Fixes build on SUA 6.0.
It have both inityes.h and stdint.h, but SIZE_MAX is only in stdint.h,
so let to include both header file.

diffstat:

 devel/scmcvs/distinfo                  |   3 ++-
 devel/scmcvs/patches/patch-lib_xsize.h |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 5cce1c739079 -r 52ecccbd7ec6 devel/scmcvs/distinfo
--- a/devel/scmcvs/distinfo     Fri Feb 11 21:41:47 2011 +0000
+++ b/devel/scmcvs/distinfo     Sat Feb 12 01:58:54 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2009/04/25 11:41:59 sno Exp $
+$NetBSD: distinfo,v 1.5 2011/02/12 01:58:54 obache Exp $
 
 SHA1 (cvs-1.11.23.tar.bz2) = a51c531eebaff2dfdcc0fb6d94c8c6e509e06d7d
 RMD160 (cvs-1.11.23.tar.bz2) = ff8c5c6777f1c12ee9134a3cf59e00c2ebaad279
@@ -26,3 +26,4 @@
 SHA1 (patch-ay) = 6ba3315df137028fc5b2bebfef79aa3d540994c4
 SHA1 (patch-az) = a4b14163d50c43f130715d4d8540bb4316e4290a
 SHA1 (patch-ba) = 25f9a2f7e35db0d2bfefae5ebf7be43d21a8a9ee
+SHA1 (patch-lib_xsize.h) = d16bd33322fb7e3750f425d5ea58fbc3413b910b
diff -r 5cce1c739079 -r 52ecccbd7ec6 devel/scmcvs/patches/patch-lib_xsize.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/scmcvs/patches/patch-lib_xsize.h    Sat Feb 12 01:58:54 2011 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_xsize.h,v 1.1 2011/02/12 01:58:55 obache Exp $
+
+* SUA have both initypes.h and stdint.h, but SIZE_MAX is in stdint.h.
+
+--- lib/xsize.h.orig   2006-06-28 13:39:29.000000000 +0000
++++ lib/xsize.h
+@@ -26,7 +26,8 @@
+ #include <limits.h>
+ #if HAVE_INTTYPES_H
+ # include <inttypes.h>
+-#elif HAVE_STDINT_H
++#endif
++#if HAVE_STDINT_H
+ # include <stdint.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index