From owner-svn-ports-all@freebsd.org Mon Nov 14 16:33:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2282FC40F5C; Mon, 14 Nov 2016 16:33:17 +0000 (UTC) (envelope-from tj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE7901B99; Mon, 14 Nov 2016 16:33:16 +0000 (UTC) (envelope-from tj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAEGXGZZ076636; Mon, 14 Nov 2016 16:33:16 GMT (envelope-from tj@FreeBSD.org) Received: (from tj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAEGXFdD076633; Mon, 14 Nov 2016 16:33:15 GMT (envelope-from tj@FreeBSD.org) Message-Id: <201611141633.uAEGXFdD076633@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tj set sender to tj@FreeBSD.org using -f From: Tom Judge Date: Mon, 14 Nov 2016 16:33:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426124 - in head/lang/mono: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 16:33:17 -0000 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)