diff options
author | wiz <wiz> | 2013-01-19 14:38:26 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-01-19 14:38:26 +0000 |
commit | cc97510c3920cbb741e1d1383aa83c141ff4a015 (patch) | |
tree | 1eaf24b7bd2e466e3750bf978fa52da5897d9a23 /lang/mono | |
parent | 8d5785b0fa70996492ca6712f0068d3dd2d5d410 (diff) | |
download | pkgsrc-cc97510c3920cbb741e1d1383aa83c141ff4a015.tar.gz |
Fix build on NetBSD-current after Jan 2.
Diffstat (limited to 'lang/mono')
-rw-r--r-- | lang/mono/distinfo | 4 | ||||
-rw-r--r-- | lang/mono/patches/patch-db | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/lang/mono/distinfo b/lang/mono/distinfo index f5cbc566474..6cfbb0ddb0b 100644 --- a/lang/mono/distinfo +++ b/lang/mono/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.86 2012/10/21 21:21:40 wiz Exp $ +$NetBSD: distinfo,v 1.87 2013/01/19 14:38:26 wiz Exp $ SHA1 (mono-2.10.9.tar.bz2) = 1a6e8c5a0c3d88d87982259aa04402e028a283de RMD160 (mono-2.10.9.tar.bz2) = ac9784c413eb2cdb490750a86a96cce5c11ad5bd @@ -29,7 +29,7 @@ SHA1 (patch-bh) = a42432fd8ed92e2213fbcd24bf29c2b6d4cbd8ba SHA1 (patch-bi) = 91786c858b459cd6b5a0dc683b5bdefc412973c1 SHA1 (patch-cc) = 97b247ea353c6b0e08b96bdf0e6de74c5dcb60ef SHA1 (patch-da) = ec2299928595710331f1856450e46e1694b5c292 -SHA1 (patch-db) = 1d735b2b25c113119637835f6bc54d8b37532941 +SHA1 (patch-db) = 80e64ed5e475d7292eaea16decc1dd5a8123d5e0 SHA1 (patch-dc) = e139e349217b213eea53a17fcae44fda0bbfe636 SHA1 (patch-de) = d9867210a90389ff9ff5b9376b7091f923960973 SHA1 (patch-df) = b817bb4dd09c4490efba749bf9c4a663253da11b diff --git a/lang/mono/patches/patch-db b/lang/mono/patches/patch-db index 6dbcbcc2a43..f04e7b95854 100644 --- a/lang/mono/patches/patch-db +++ b/lang/mono/patches/patch-db @@ -1,7 +1,7 @@ -$NetBSD: patch-db,v 1.5 2011/04/25 14:01:40 kefren Exp $ ---- mono/utils/mono-proclib.c.orig 2011-02-23 21:21:01.000000000 +0200 -+++ mono/utils/mono-proclib.c 2011-04-25 12:35:21.000000000 +0300 -@@ -13,11 +13,13 @@ +$NetBSD: patch-db,v 1.6 2013/01/19 14:38:26 wiz Exp $ +--- mono/utils/mono-proclib.c.orig 2012-01-30 18:01:23.000000000 +0000 ++++ mono/utils/mono-proclib.c +@@ -14,11 +14,13 @@ #endif /* FIXME: bsds untested */ @@ -16,13 +16,16 @@ $NetBSD: patch-db,v 1.5 2011/04/25 14:01:40 kefren Exp $ #if defined(__APPLE__) #include <mach/mach.h> #endif -@@ -32,6 +34,9 @@ +@@ -33,6 +35,12 @@ # define kinfo_pid_member kp_proc.p_pid # define kinfo_name_member kp_proc.p_comm # endif +#elif defined(__DragonFly__) +#define kinfo_pid_member kp_pid +#define kinfo_name_member kp_comm ++#elif defined(__NetBSD__) /* NetBSD 6.99.16+ hide struct kinfo_proc */ ++#define kinfo_pid_member p_pid ++#define kinfo_name_member p_comm #else #define kinfo_pid_member ki_pid #define kinfo_name_member ki_comm |