[Midnightbsd-cvs] mports [24692] trunk/lang/mono/files: update patchset
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Nov 23 12:17:40 EST 2018
Revision: 24692
http://svnweb.midnightbsd.org/mports/?rev=24692
Author: laffer1
Date: 2018-11-23 12:17:39 -0500 (Fri, 23 Nov 2018)
Log Message:
-----------
update patchset
Added Paths:
-----------
trunk/lang/mono/files/patch-configure.ac
trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs
trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs
trunk/lang/mono/files/patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs
trunk/lang/mono/files/patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets
trunk/lang/mono/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets
trunk/lang/mono/files/patch-mono_eglib_gfile-posix.c
trunk/lang/mono/files/patch-mono_mini_Makefile.am.in
trunk/lang/mono/files/patch-mono_mini_tramp-amd64.c
trunk/lang/mono/files/patch-mono_utils_mono-context.h
trunk/lang/mono/files/patch-mono_utils_mono-threads.c
trunk/lang/mono/files/patch-scripts_mono-heapviz
Removed Paths:
-------------
trunk/lang/mono/files/patch-eglib_src_gfile-posix.c
trunk/lang/mono/files/patch-mono_metadata_socket-io.c
trunk/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c
Added: trunk/lang/mono/files/patch-configure.ac
===================================================================
--- trunk/lang/mono/files/patch-configure.ac (rev 0)
+++ trunk/lang/mono/files/patch-configure.ac 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,20 @@
+--- configure.ac.orig 2018-04-18 10:51:42.000000000 +0300
++++ configure.ac 2018-06-24 02:38:19.860780000 +0300
+@@ -3271,6 +3271,8 @@
+ BTLS_PLATFORM=i386
+ ;;
+ openbsd*|freebsd*|kfreebsd-gnu*)
++ BTLS_SUPPORTED=yes
++ BTLS_PLATFORM=i386
+ ;;
+ esac
+ ;;
+@@ -3295,6 +3297,8 @@
+ boehm_supported=false
+ ;;
+ openbsd*|freebsd*|kfreebsd-gnu*)
++ BTLS_SUPPORTED=yes
++ BTLS_PLATFORM=x86_64
+ ;;
+ mingw*)
+ ;;
Property changes on: trunk/lang/mono/files/patch-configure.ac
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/lang/mono/files/patch-eglib_src_gfile-posix.c
===================================================================
--- trunk/lang/mono/files/patch-eglib_src_gfile-posix.c 2018-11-23 17:15:04 UTC (rev 24691)
+++ trunk/lang/mono/files/patch-eglib_src_gfile-posix.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -1,11 +0,0 @@
---- eglib/src/gfile-posix.c.orig 2016-07-29 09:10:29 UTC
-+++ eglib/src/gfile-posix.c
-@@ -170,7 +170,7 @@ g_get_current_dir (void)
- do {
- buffer = g_realloc (buffer, s);
- r = getcwd (buffer, s);
-- fail = (r == NULL && errno == ERANGE);
-+ fail = (r == NULL && (errno == ERANGE || errno == 0));
- if (fail) {
- s <<= 1;
- }
Added: trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs
===================================================================
--- trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs (rev 0)
+++ trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,11 @@
+--- mcs/class/Mono.Security/Mono.Security.Cryptography/KeyPairPersistence.cs.orig 2017-07-20 18:10:59 UTC
++++ mcs/class/Mono.Security/Mono.Security.Cryptography/KeyPairPersistence.cs
+@@ -244,7 +244,7 @@ namespace Mono.Security.Cryptography {
+ if ((_machinePath == null) || (!_machinePathExists)) {
+ _machinePath = Path.Combine (
+ Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData),
+- ".mono");
++ "mono");
+ _machinePath = Path.Combine (_machinePath, "keypairs");
+
+ _machinePathExists = Directory.Exists (_machinePath);
Property changes on: trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs
===================================================================
--- trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs (rev 0)
+++ trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,20 @@
+--- mcs/class/Mono.Security/Mono.Security.X509/X509StoreManager.cs.orig 2017-07-20 18:10:59 UTC
++++ mcs/class/Mono.Security/Mono.Security.X509/X509StoreManager.cs
+@@ -73,7 +73,7 @@ namespace Mono.Security.X509 {
+ if (_localMachinePath == null) {
+ _localMachinePath = Path.Combine (
+ Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData),
+- ".mono");
++ "mono");
+ _localMachinePath = Path.Combine (_localMachinePath, "certs");
+ }
+ return _localMachinePath;
+@@ -97,7 +97,7 @@ namespace Mono.Security.X509 {
+ if (_newLocalMachinePath == null) {
+ _newLocalMachinePath = Path.Combine (
+ Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData),
+- ".mono");
++ "mono");
+ _newLocalMachinePath = Path.Combine (_newLocalMachinePath, "new-certs");
+ }
+ return _newLocalMachinePath;
Property changes on: trunk/lang/mono/files/patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs
===================================================================
--- trunk/lang/mono/files/patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs (rev 0)
+++ trunk/lang/mono/files/patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,11 @@
+--- mcs/tools/mono-configuration-crypto/lib/Mono.Configuration.Crypto/KeyContainerCollection.cs.orig 2017-07-20 18:10:59 UTC
++++ mcs/tools/mono-configuration-crypto/lib/Mono.Configuration.Crypto/KeyContainerCollection.cs
+@@ -32,7 +32,7 @@ namespace Mono.Configuration.Crypto
+ string topPath;
+
+ if (machineStore)
+- topPath = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData), ".mono");
++ topPath = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData), "mono");
+ else
+ topPath = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), ".mono");
+ topPath = Path.Combine (topPath, "keypairs");
Property changes on: trunk/lang/mono/files/patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets
===================================================================
--- trunk/lang/mono/files/patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets (rev 0)
+++ trunk/lang/mono/files/patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,25 @@
+--- mcs/tools/xbuild/data/12.0/Microsoft.CSharp.targets.orig 2017-07-20 18:10:59 UTC
++++ mcs/tools/xbuild/data/12.0/Microsoft.CSharp.targets
+@@ -20,6 +20,11 @@
+ <NoCompilerStandardLib Condition="'$(NoCompilerStandardLib)'==''">true</NoCompilerStandardLib>
+ </PropertyGroup>
+
++ <PropertyGroup >
++ <SnToolExe>sn</SnToolExe>
++ <SnToolPath>$(CscToolPath)</SnToolPath>
++ </PropertyGroup>
++
+ <ItemGroup>
+ <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/>
+ </ItemGroup>
+@@ -102,6 +107,10 @@
+ ToolExe="$(CscToolExe)"
+ ToolPath="$(CscToolPath)" />
+
++ <Exec
++ Command="$(SnToolPath)$(SnToolExe) -R @(IntermediateAssembly) $(KeyOriginatorFile)"
++ Condition="'$(DelaySign)' == '' and '$(KeyContainerName)' == '' and '$(KeyOriginatorFile)' != '' and ( $(CscToolExe.EndsWith('csc.exe')) or $(CscToolExe.EndsWith('csc')) or $(CscToolExe) == '' )" />
++
+ </Target>
+
+ <Target Name="CreateManifestResourceNames">
Property changes on: trunk/lang/mono/files/patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets
===================================================================
--- trunk/lang/mono/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets (rev 0)
+++ trunk/lang/mono/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,25 @@
+--- mcs/tools/xbuild/data/14.0/Microsoft.CSharp.targets.orig 2017-07-20 18:10:59 UTC
++++ mcs/tools/xbuild/data/14.0/Microsoft.CSharp.targets
+@@ -20,6 +20,11 @@
+ <NoCompilerStandardLib Condition="'$(NoCompilerStandardLib)'==''">true</NoCompilerStandardLib>
+ </PropertyGroup>
+
++ <PropertyGroup >
++ <SnToolExe>sn</SnToolExe>
++ <SnToolPath>$(CscToolPath)</SnToolPath>
++ </PropertyGroup>
++
+ <ItemGroup>
+ <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/>
+ </ItemGroup>
+@@ -102,6 +107,10 @@
+ ToolExe="$(CscToolExe)"
+ ToolPath="$(CscToolPath)" />
+
++ <Exec
++ Command="$(SnToolPath)$(SnToolExe) -R @(IntermediateAssembly) $(KeyOriginatorFile)"
++ Condition="'$(DelaySign)' == '' and '$(KeyContainerName)' == '' and '$(KeyOriginatorFile)' != '' and ( $(CscToolExe.EndsWith('csc.exe')) or $(CscToolExe.EndsWith('csc')) or $(CscToolExe) == '' )" />
++
+ </Target>
+
+ <Target Name="CreateManifestResourceNames">
Property changes on: trunk/lang/mono/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mono_eglib_gfile-posix.c
===================================================================
--- trunk/lang/mono/files/patch-mono_eglib_gfile-posix.c (rev 0)
+++ trunk/lang/mono/files/patch-mono_eglib_gfile-posix.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,11 @@
+--- mono/eglib/gfile-posix.c.orig 2018-01-10 08:03:25 UTC
++++ mono/eglib/gfile-posix.c
+@@ -161,7 +161,7 @@ g_get_current_dir (void)
+ do {
+ buffer = g_realloc (buffer, s);
+ r = getcwd (buffer, s);
+- fail = (r == NULL && errno == ERANGE);
++ fail = (r == NULL && (errno == ERANGE || errno == 0));
+ if (fail) {
+ s <<= 1;
+ }
Property changes on: trunk/lang/mono/files/patch-mono_eglib_gfile-posix.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/lang/mono/files/patch-mono_metadata_socket-io.c
===================================================================
--- trunk/lang/mono/files/patch-mono_metadata_socket-io.c 2018-11-23 17:15:04 UTC (rev 24691)
+++ trunk/lang/mono/files/patch-mono_metadata_socket-io.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -1,13 +0,0 @@
-Fix build on FreeBSD 8
-https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198404#c6
-
---- mono/metadata/socket-io.c.orig 2016-07-29 09:10:33 UTC
-+++ mono/metadata/socket-io.c
-@@ -26,6 +26,7 @@
- #ifdef HOST_WIN32
- #include <ws2tcpip.h>
- #else
-+#include <sys/types.h>
- #include <sys/socket.h>
- #ifdef HAVE_SYS_IOCTL_H
- #include <sys/ioctl.h>
Added: trunk/lang/mono/files/patch-mono_mini_Makefile.am.in
===================================================================
--- trunk/lang/mono/files/patch-mono_mini_Makefile.am.in (rev 0)
+++ trunk/lang/mono/files/patch-mono_mini_Makefile.am.in 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,11 @@
+--- mono/mini/Makefile.am.in.orig 2018-04-13 23:37:57 UTC
++++ mono/mini/Makefile.am.in
+@@ -698,7 +698,7 @@ MemoryIntrinsics.dll: MemoryIntrinsics.i
+
+ GENMDESC_OPTS=
+
+-GENMDESC_PRG=python $(srcdir)/genmdesc.py $(target_define) $(srcdir)
++GENMDESC_PRG=python2.7 $(srcdir)/genmdesc.py $(target_define) $(srcdir)
+
+ cpu-wasm.h: cpu-wasm.md
+ $(GENMDESC_PRG) cpu-wasm.h wasm_desc $(srcdir)/cpu-wasm.md
Property changes on: trunk/lang/mono/files/patch-mono_mini_Makefile.am.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mono_mini_tramp-amd64.c
===================================================================
--- trunk/lang/mono/files/patch-mono_mini_tramp-amd64.c (rev 0)
+++ trunk/lang/mono/files/patch-mono_mini_tramp-amd64.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,26 @@
+--- mono/mini/tramp-amd64.c.orig 2018-04-13 23:37:57 UTC
++++ mono/mini/tramp-amd64.c
+@@ -363,7 +363,11 @@ mono_arch_create_generic_trampoline (Mon
+ }
+ for (i = 0; i < AMD64_XMM_NREG; ++i)
+ if (AMD64_IS_ARGUMENT_XREG (i))
++#if defined(MONO_HAVE_SIMD_REG)
+ amd64_movdqu_membase_reg (code, AMD64_RBP, saved_fpregs_offset + (i * sizeof(MonoContextSimdReg)), i);
++#else
++ amd64_movsd_membase_reg (code, AMD64_RBP, saved_fpregs_offset + (i * sizeof(double)), i);
++#endif
+
+ /* Check that the stack is aligned */
+ amd64_mov_reg_reg (code, AMD64_R11, AMD64_RSP, sizeof (mgreg_t));
+@@ -540,7 +544,11 @@ mono_arch_create_generic_trampoline (Mon
+ amd64_mov_reg_membase (code, i, AMD64_RBP, saved_regs_offset + (i * sizeof(mgreg_t)), sizeof(mgreg_t));
+ for (i = 0; i < AMD64_XMM_NREG; ++i)
+ if (AMD64_IS_ARGUMENT_XREG (i))
++#if defined(MONO_HAVE_SIMD_REG)
+ amd64_movdqu_reg_membase (code, i, AMD64_RBP, saved_fpregs_offset + (i * sizeof(MonoContextSimdReg)));
++#else
++ amd64_movsd_reg_membase (code, i, AMD64_RBP, saved_fpregs_offset + (i * sizeof(double)));
++#endif
+
+ /* Restore stack */
+ #if TARGET_WIN32
Property changes on: trunk/lang/mono/files/patch-mono_mini_tramp-amd64.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mono_utils_mono-context.h
===================================================================
--- trunk/lang/mono/files/patch-mono_utils_mono-context.h (rev 0)
+++ trunk/lang/mono/files/patch-mono_utils_mono-context.h 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,42 @@
+--- mono/utils/mono-context.h.orig 2018-04-13 23:37:57 UTC
++++ mono/utils/mono-context.h
+@@ -24,23 +24,30 @@
+
+ #if defined(TARGET_X86)
+ #if defined(__APPLE__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct __darwin_xmm_reg MonoContextSimdReg;
+ #endif
+ #elif defined(TARGET_AMD64)
+ #if defined(__APPLE__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct __darwin_xmm_reg MonoContextSimdReg;
+ #elif defined(__linux__) && defined(__GLIBC__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct _libc_xmmreg MonoContextSimdReg;
+ #elif defined(HOST_WIN32)
++#define MONO_HAVE_SIMD_REG
+ #include <emmintrin.h>
+ typedef __m128d MonoContextSimdReg;
+ #elif defined(HOST_ANDROID)
++#define MONO_HAVE_SIMD_REG
+ typedef struct _libc_xmmreg MonoContextSimdReg;
+ #elif defined(__linux__)
++#define MONO_HAVE_SIMD_REG
+ #include <emmintrin.h>
+ typedef __m128d MonoContextSimdReg;
+ #endif
+ #elif defined(TARGET_ARM64)
++#define MONO_HAVE_SIMD_REG
+ typedef __uint128_t MonoContextSimdReg;
+ #endif
+
+@@ -255,7 +262,7 @@ typedef struct {
+
+ typedef struct {
+ mgreg_t gregs [AMD64_NREG];
+-#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || defined(HOST_WIN32)
++#if defined(MONO_HAVE_SIMD_REG)
+ MonoContextSimdReg fregs [AMD64_XMM_NREG];
+ #else
+ double fregs [AMD64_XMM_NREG];
Property changes on: trunk/lang/mono/files/patch-mono_utils_mono-context.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/mono/files/patch-mono_utils_mono-threads.c
===================================================================
--- trunk/lang/mono/files/patch-mono_utils_mono-threads.c (rev 0)
+++ trunk/lang/mono/files/patch-mono_utils_mono-threads.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,20 @@
+--- mono/utils/mono-threads.c.orig 2018-04-13 23:37:57 UTC
++++ mono/utils/mono-threads.c
+@@ -1316,7 +1316,7 @@ mono_thread_info_sleep (guint32 ms, gboo
+ } while (1);
+ } else {
+ int ret;
+-#if defined (__linux__) && !defined(HOST_ANDROID)
++#if defined (HAVE_CLOCK_NANOSLEEP) && !defined(HOST_ANDROID)
+ struct timespec start, target;
+
+ /* Use clock_nanosleep () to prevent time drifting problems when nanosleep () is interrupted by signals */
+@@ -1346,7 +1346,7 @@ mono_thread_info_sleep (guint32 ms, gboo
+ memset (&rem, 0, sizeof (rem));
+ ret = nanosleep (&req, &rem);
+ } while (ret != 0);
+-#endif /* __linux__ */
++#endif /* HAVE_CLOCK_NANOSLEEP */
+ }
+
+ MONO_EXIT_GC_SAFE;
Property changes on: trunk/lang/mono/files/patch-mono_utils_mono-threads.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c
===================================================================
--- trunk/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c 2018-11-23 17:15:04 UTC (rev 24691)
+++ trunk/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c 2018-11-23 17:17:39 UTC (rev 24692)
@@ -1,19 +0,0 @@
---- 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)
Added: trunk/lang/mono/files/patch-scripts_mono-heapviz
===================================================================
--- trunk/lang/mono/files/patch-scripts_mono-heapviz (rev 0)
+++ trunk/lang/mono/files/patch-scripts_mono-heapviz 2018-11-23 17:17:39 UTC (rev 24692)
@@ -0,0 +1,11 @@
+--- scripts/mono-heapviz.orig 2018-01-18 17:41:54 UTC
++++ scripts/mono-heapviz
+@@ -7,7 +7,7 @@
+
+ from __future__ import print_function
+ import sys, os
+-import Image, ImageDraw
++from PIL import Image, ImageDraw
+ from xml.sax import ContentHandler, make_parser
+ from xml.sax.handler import feature_namespaces
+ from optparse import OptionParser
Property changes on: trunk/lang/mono/files/patch-scripts_mono-heapviz
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list