Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2016 16:33:15 +0000 (UTC)
From:      Tom Judge <tj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426124 - in head/lang/mono: . files
Message-ID:  <201611141633.uAEGXFdD076633@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tj
Date: Mon Nov 14 16:33:15 2016
New Revision: 426124
URL: https://svnweb.freebsd.org/changeset/ports/426124

Log:
  Fix the patch to actually patch the file, not just create a patch file.

Added:
  head/lang/mono/files/patch-mono_utils_mono-proclib.c
     - copied, changed from r426123, head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c
Deleted:
  head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c
Modified:
  head/lang/mono/Makefile

Modified: head/lang/mono/Makefile
==============================================================================
--- head/lang/mono/Makefile	Mon Nov 14 16:26:27 2016	(r426123)
+++ head/lang/mono/Makefile	Mon Nov 14 16:33:15 2016	(r426124)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mono
 PORTVERSION=	4.6.1.5
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/
 

Copied and modified: head/lang/mono/files/patch-mono_utils_mono-proclib.c (from r426123, head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c)
==============================================================================
--- head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c	Mon Nov 14 16:26:27 2016	(r426123, copy source)
+++ head/lang/mono/files/patch-mono_utils_mono-proclib.c	Mon Nov 14 16:33:15 2016	(r426124)
@@ -1,19 +1,16 @@
---- mono/utils/patch-mono_utils_mono-proclib.c.orig	2016-10-05 17:28:38 UTC
-+++ mono/utils/patch-mono_utils_mono-proclib.c
-@@ -0,0 +1,16 @@
-+--- mono/utils/mono-proclib.c.orig	2016-07-29 09:10:33 UTC
-++++ mono/utils/mono-proclib.c
-+@@ -107,11 +107,11 @@ mono_process_list (int *size)
-+ 		mib [2] = KERN_PROC_ALL;
-+ 		mib [3] = 0;
-+ 
-+-		res = sysctl (mib, 4, NULL, &data_len, NULL, 0);
-++		res = sysctl (mib, 3, NULL, &data_len, NULL, 0);
-+ 		if (res)
-+ 			return NULL;
-+ 		processes = (struct kinfo_proc *) malloc (data_len);
-+-		res = sysctl (mib, 4, processes, &data_len, NULL, 0);
-++		res = sysctl (mib, 3, processes, &data_len, NULL, 0);
-+ 		if (res < 0) {
-+ 			free (processes);
-+ 			if (errno != ENOMEM)
+--- mono/utils/mono-proclib.c.orig	2016-07-29 09:10:33 UTC
++++ mono/utils/mono-proclib.c
+@@ -107,11 +107,11 @@ mono_process_list (int *size)
+ 		mib [2] = KERN_PROC_ALL;
+ 		mib [3] = 0;
+ 
+-		res = sysctl (mib, 4, NULL, &data_len, NULL, 0);
++		res = sysctl (mib, 3, NULL, &data_len, NULL, 0);
+ 		if (res)
+ 			return NULL;
+ 		processes = (struct kinfo_proc *) malloc (data_len);
+-		res = sysctl (mib, 4, processes, &data_len, NULL, 0);
++		res = sysctl (mib, 3, processes, &data_len, NULL, 0);
+ 		if (res < 0) {
+ 			free (processes);
+ 			if (errno != ENOMEM)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611141633.uAEGXFdD076633>