pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/splint Allow compile on Mac OS X, taken from ups...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed6348e4f709
branches: trunk
changeset: 604643:ed6348e4f709
user: obache <obache%pkgsrc.org@localhost>
date: Sat Jun 02 05:43:07 2012 +0000
description:
Allow compile on Mac OS X, taken from upstream fix.
Use pid_t instead of __pid_t.
Fixes PR 46514.
diffstat:
devel/splint/distinfo | 3 ++-
devel/splint/patches/patch-src_osd.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r e381a19e1a7a -r ed6348e4f709 devel/splint/distinfo
--- a/devel/splint/distinfo Sat Jun 02 04:34:45 2012 +0000
+++ b/devel/splint/distinfo Sat Jun 02 05:43:07 2012 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2012/01/02 04:19:44 dholland Exp $
+$NetBSD: distinfo,v 1.9 2012/06/02 05:43:07 obache Exp $
SHA1 (splint-3.1.2.src.tgz) = 0df489cb228dcfffb149b38c57614c2c3e200501
RMD160 (splint-3.1.2.src.tgz) = 52e9786d3cbeaa437877a33b18e42b32dff3b96b
Size (splint-3.1.2.src.tgz) = 2284033 bytes
SHA1 (patch-aa) = 3324bff7178957f25bab17cb8ab4d3d25a2d0397
SHA1 (patch-src_Headers_scan_h) = 9d286990abcad9f3df49c19c6302f1a4a590ee1b
+SHA1 (patch-src_osd.c) = 84499ef0e9bd23ea89dcb14b8951fa0dfcfed198
diff -r e381a19e1a7a -r ed6348e4f709 devel/splint/patches/patch-src_osd.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/splint/patches/patch-src_osd.c Sat Jun 02 05:43:07 2012 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_osd.c,v 1.1 2012/06/02 05:43:07 obache Exp $
+
+Allow compile on apple platforms. osd.c
+Use pid_t instead of __pid_t as per open group.
+http://splint.cvs.sourceforge.net/viewvc/splint/splint/src/osd.c?r1=1.43&r2=1.44
+
+--- src/osd.c.orig 2007-07-13 22:18:20.000000000 +0000
++++ src/osd.c
+@@ -516,7 +516,7 @@ osd_getPid ()
+ # if defined (WIN32) || defined (OS2) && defined (__IBMC__)
+ int pid = _getpid ();
+ # else
+- __pid_t pid = getpid ();
++ pid_t pid = getpid ();
+ # endif
+
+ return (int) pid;
Home |
Main Index |
Thread Index |
Old Index