Index: head/lang/mono/Makefile =================================================================== --- head/lang/mono/Makefile (revision 426123) +++ head/lang/mono/Makefile (revision 426124) @@ -1,63 +1,64 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= mono PORTVERSION= 4.6.1.5 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/ MAINTAINER= mono@FreeBSD.org COMMENT= Open source implementation of .NET Development Framework BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ bash:shells/bash LIB_DEPENDS= libinotify.so:devel/libinotify USES= bison compiler:c11 cpe gettext gmake iconv libtool pathfix perl5 tar:bzip2 USE_GNOME= glib20 USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/mono-${PORTVERSION:R} CONFIGURE_ARGS= --disable-dtrace CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no # Set location for .wapi creation. MONO_SHARED_DIR=${WRKDIR} # LC_ALL is set in order to work around issues people are having when using # other languages. This has shown itself in build fails and possibly other # strange crashes. MAKE_ENV= MONO_SHARED_DIR="${MONO_SHARED_DIR}" \ INSTALL_STRIP_FLAG="${STRIP}" \ LC_ALL=C TZ=UTC ONLY_FOR_ARCHS= i386 amd64 powerpc .include post-patch: @${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \ ${WRKSRC}/scripts/mono-find-provides.in \ ${WRKSRC}/scripts/mono-find-requires.in \ ${WRKSRC}/scripts/mono-test-install @${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${REINPLACE_CMD} \ -e 's|^#!/bin/bash|#!/bin/sh|g' @${REINPLACE_CMD} 's/isinf (1)/isinf (1.0)/g' ${WRKSRC}/configure post-configure: @${REINPLACE_CMD} -e 's|share\/man|man|g' \ ${WRKSRC}/mcs/jay/Makefile # Fix build on FreeBSD 9.3 (and maybe other unsupported releases) .if ${OSVERSION} < 1000000 @${REINPLACE_CMD} 's/^#define HAVE_LOCALCHARSET_H 1/#undef HAVE_LOCALCHARSET_H/' \ ${WRKSRC}/eglib/config.h .endif do-test: @(cd ${WRKSRC}/mono/tests && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} check) .include Index: 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 (revision 426123) +++ head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c (nonexistent) @@ -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) Property changes on: head/lang/mono/files/patch-mono_utils_patch-mono__utils__mono-proclib.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/lang/mono/files/patch-mono_utils_mono-proclib.c =================================================================== --- head/lang/mono/files/patch-mono_utils_mono-proclib.c (nonexistent) +++ head/lang/mono/files/patch-mono_utils_mono-proclib.c (revision 426124) @@ -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) Property changes on: head/lang/mono/files/patch-mono_utils_mono-proclib.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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