summaryrefslogtreecommitdiff
path: root/devel/scmcvs
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-02-12 01:58:54 +0000
committerobache <obache@pkgsrc.org>2011-02-12 01:58:54 +0000
commitacaae010eeffd9d3f4ca3f89941db4e48b0c49b4 (patch)
tree26c64cbc8ba841a62ec8905b9b3b9092f92ddf40 /devel/scmcvs
parent5379dd2fded5254d5fe8316aad30940a7b83d00b (diff)
downloadpkgsrc-acaae010eeffd9d3f4ca3f89941db4e48b0c49b4.tar.gz
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 (limited to 'devel/scmcvs')
-rw-r--r--devel/scmcvs/distinfo3
-rw-r--r--devel/scmcvs/patches/patch-lib_xsize.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/scmcvs/distinfo b/devel/scmcvs/distinfo
index ec7e7fd3923..5e6715720ec 100644
--- a/devel/scmcvs/distinfo
+++ b/devel/scmcvs/distinfo
@@ -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-av) = 84da8f0a398ddf36412becb2aebd7008e3f80c44
SHA1 (patch-ay) = 6ba3315df137028fc5b2bebfef79aa3d540994c4
SHA1 (patch-az) = a4b14163d50c43f130715d4d8540bb4316e4290a
SHA1 (patch-ba) = 25f9a2f7e35db0d2bfefae5ebf7be43d21a8a9ee
+SHA1 (patch-lib_xsize.h) = d16bd33322fb7e3750f425d5ea58fbc3413b910b
diff --git a/devel/scmcvs/patches/patch-lib_xsize.h b/devel/scmcvs/patches/patch-lib_xsize.h
new file mode 100644
index 00000000000..df6a8134deb
--- /dev/null
+++ b/devel/scmcvs/patches/patch-lib_xsize.h
@@ -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
+