From 653309c1880069bf17b8e679c8986112f203bc4c Mon Sep 17 00:00:00 2001 From: Simon THOBY Date: Wed, 14 Dec 2016 17:17:00 +0100 Subject: [PATCH] mono: update to 4.6.2.16 Credits to @Hoshpak. --- srcpkgs/mono/INSTALL | 6 ++++++ srcpkgs/mono/patches/fix-mono-build-date.patch | 11 +++++++++++ srcpkgs/mono/template | 13 ++++++------- 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/mono/INSTALL create mode 100644 srcpkgs/mono/patches/fix-mono-build-date.patch diff --git a/srcpkgs/mono/INSTALL b/srcpkgs/mono/INSTALL new file mode 100644 index 00000000000..3a2673352f8 --- /dev/null +++ b/srcpkgs/mono/INSTALL @@ -0,0 +1,6 @@ +# import CA certificates installed on the system in mono +case "$ACTION" in +post) + cert-sync /etc/ssl/certs/ca-certificates.crt + ;; +esac diff --git a/srcpkgs/mono/patches/fix-mono-build-date.patch b/srcpkgs/mono/patches/fix-mono-build-date.patch new file mode 100644 index 00000000000..2770e96f955 --- /dev/null +++ b/srcpkgs/mono/patches/fix-mono-build-date.patch @@ -0,0 +1,11 @@ +--- mono/mini/main.c 2016-10-28 19:35:02.988284497 +0200 ++++ mono/mini/main.c 2016-10-28 19:36:00.413593252 +0200 +@@ -15,6 +15,8 @@ + # endif + #endif + ++const char *mono_build_date; ++ + /* + * If the MONO_ENV_OPTIONS environment variable is set, it uses this as a + * source of command line arguments that are passed to Mono before the diff --git a/srcpkgs/mono/template b/srcpkgs/mono/template index cf340c16089..17ad677da42 100644 --- a/srcpkgs/mono/template +++ b/srcpkgs/mono/template @@ -1,7 +1,7 @@ # Template file for 'mono' pkgname=mono -version=4.0.1.44 -revision=2 +version=4.6.2.16 +revision=1 wrksrc="mono-${version%.*}" lib32disabled=yes build_style=gnu-configure @@ -9,14 +9,13 @@ configure_args="--disable-static --disable-system-aot" # XXX: figure out how to split this up into subpkgs. hostmakedepends="automake libtool perl python" makedepends="zlib-devel libX11-devel libgdiplus-devel" +depends="ca-certificates python" short_desc="Free implementation of the .NET platform including runtime and compiler" maintainer="Juan RP " -homepage="http://www.go-mono.org" -license="GPL-2, LGPL-2, MPL, MIT" +homepage="http://www.mono-project.com" +license="MIT, 3-clause-BSD, GPL-2, LGPL-2, MPL-1.1" distfiles="http://download.mono-project.com/sources/mono/$pkgname-$version.tar.bz2" -checksum=eaf5bd9d19818cb89483b3c9cae2ee3569643fd621560da036f6a49f6b3e3a6f - -disable_parallel_build=1 +checksum=8965d107f4ebf4583ba1b50e0dcad39f0dc6adac8df7a083e9c5879ad93c0ea4 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;;