From 9954c68bf4a6dab388188405db9bac6836a8f6cf Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 13 Sep 2013 23:07:48 +0000 Subject: [PATCH] extra/mono to 3.2.1-1 --- extra/mono/PKGBUILD | 15 ++++++++------- extra/mono/bug434892.patch | 11 ----------- extra/mono/mini_amd64.patch | 13 ------------- extra/mono/mono.install | 7 +++++++ 4 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 extra/mono/bug434892.patch delete mode 100644 extra/mono/mini_amd64.patch create mode 100644 extra/mono/mono.install diff --git a/extra/mono/PKGBUILD b/extra/mono/PKGBUILD index 4ba5f9435..99f2aaf41 100644 --- a/extra/mono/PKGBUILD +++ b/extra/mono/PKGBUILD @@ -7,7 +7,7 @@ # and using autogen.sh to rebuild for configure.in changes. pkgname=mono -pkgver=3.0.12 +pkgver=3.2.1 pkgrel=1 pkgdesc="Free implementation of the .NET platform including runtime and compiler" arch=(i686 x86_64) @@ -18,12 +18,13 @@ makedepends=('pkgconfig') options=('!libtool' '!makeflags') provides=('monodoc') conflicts=('monodoc') -source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2 +install=mono.install +source=(http://download.mono-project.com/sources/mono/${pkgname}-${pkgver}.tar.bz2 mono.binfmt.d - alarm.patch) -md5sums=('7833809f5ddac1b8c605d4d26789987b' + mono.install) +md5sums=('bb613f9c93f57c29abcb7270f3215eb2' 'b9ef8a65fea497acf176cca16c1e2402' - 'db43f2824188e4d1583b676f2e62db24') + 'ca1108e9638b01c26453ee663592a4e5') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -36,10 +37,10 @@ build() { sed -i 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.in sed -i 's/AUTOMAKE_OPTIONS = cygnus//' runtime/Makefile.am ./autogen.sh --prefix=/usr --sysconfdir=/etc \ - --with-fpu=VFP + --with-fpu=VFP --bindir=/usr/bin --sbindir=/usr/bin else sed -i 's/armv6=yes/armv6=no/' configure - ./configure --prefix=/usr --sysconfdir=/etc + ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --sbindir=/usr/bin fi make diff --git a/extra/mono/bug434892.patch b/extra/mono/bug434892.patch deleted file mode 100644 index d4f46f68c..000000000 --- a/extra/mono/bug434892.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/07/01 20:17:46 107006 -+++ trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/10/28 09:32:46 117243 -@@ -177,7 +177,7 @@ - foreach (OperationMessage om in op.Messages) { - Message msg = ctx.Services.GetMessage (om.Message); - foreach (MessagePart part in msg.Parts) -- parts.Add (part,part); -+ parts [part] = part; // do not use Add() - there could be the same MessagePart instance. - } - } - diff --git a/extra/mono/mini_amd64.patch b/extra/mono/mini_amd64.patch deleted file mode 100644 index f8685c337..000000000 --- a/extra/mono/mini_amd64.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- mono/mini/mini-amd64.c 2009-03-19 21:08:18 UTC (rev 129824) -+++ mono/mini/mini-amd64.c 2009-03-19 21:09:53 UTC (rev 129825) -@@ -1009,7 +1009,7 @@ - locals_size += mono_type_size (ins->inst_vtype, &ialign); - } - -- if ((cfg->num_varinfo > 10000) || (locals_size >= (1 << 15))) { -+ if ((cfg->num_varinfo > 5000) || (locals_size >= (1 << 15)) || (header->code_size > 110000)) { - /* Avoid hitting the stack_alloc_size < (1 << 16) assertion in emit_epilog () */ - cfg->arch.omit_fp = FALSE; - } - - diff --git a/extra/mono/mono.install b/extra/mono/mono.install new file mode 100644 index 000000000..6a57c2a70 --- /dev/null +++ b/extra/mono/mono.install @@ -0,0 +1,7 @@ +post_install() { +ln -sf /bin/mono-sgen /bin/mono +} + +post_upgrade() { +post_install +}