View | Details | Raw Unified | Return to bug 212259
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	mono
4
PORTNAME=	mono
5
PORTVERSION=	4.4.2.11
5
PORTVERSION=	4.4.2.11
6
PORTREVISION=	1
6
CATEGORIES=	lang
7
CATEGORIES=	lang
7
MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/
8
MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/
8
9
(-)files/patch-mono_utils_mono-proclib.c (+16 lines)
Line 0 Link Here
1
--- mono/utils/mono-proclib.c.orig	2016-07-29 09:10:33 UTC
2
+++ mono/utils/mono-proclib.c
3
@@ -107,11 +107,11 @@ mono_process_list (int *size)
4
 		mib [2] = KERN_PROC_ALL;
5
 		mib [3] = 0;
6
 
7
-		res = sysctl (mib, 4, NULL, &data_len, NULL, 0);
8
+		res = sysctl (mib, 3, NULL, &data_len, NULL, 0);
9
 		if (res)
10
 			return NULL;
11
 		processes = (struct kinfo_proc *) malloc (data_len);
12
-		res = sysctl (mib, 4, processes, &data_len, NULL, 0);
13
+		res = sysctl (mib, 3, processes, &data_len, NULL, 0);
14
 		if (res < 0) {
15
 			free (processes);
16
 			if (errno != ENOMEM)

Return to bug 212259