[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 6b4bcffa3bccaf8ba8c99c65bd9dbd1f445b196d Author: Sam James gentoo org> AuthorDate: Sat Dec 9 15:27:04 2023 + Commit: Sam James gentoo org> CommitDate: Sat Dec 9 18:05:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4bcffa dev-lang/mono: fix modern C issue in configure Signed-off-by: Sam James gentoo.org> .../mono/files/mono-6.12.0.199-configure-c99.patch | 51 dev-lang/mono/mono-6.12.0.199-r2.ebuild| 130 + 2 files changed, 181 insertions(+) diff --git a/dev-lang/mono/files/mono-6.12.0.199-configure-c99.patch b/dev-lang/mono/files/mono-6.12.0.199-configure-c99.patch new file mode 100644 index ..3018dbe8339c --- /dev/null +++ b/dev-lang/mono/files/mono-6.12.0.199-configure-c99.patch @@ -0,0 +1,51 @@ +https://github.com/mono/mono/pull/21730 + +From 90315aa24569d13da93230ac2d3e5ec3c96f35b4 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Sat, 9 Dec 2023 00:06:09 +0100 +Subject: [PATCH] configure: Fix type errors in __thread test + +The thread start routine must return void *, and int and void * +are distinct types. Compilers increasingly issue errors instead +of warnings for such type errors, and this causes the configure +probe to fail unconditionally, even if the system supports +__thread variables. +--- + configure.ac | 10 +++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index dbc4904d9b2e4..7518439118e37 100644 +--- a/configure.ac b/configure.ac +@@ -2831,14 +2831,16 @@ if test x$host_win32 = xno; then + __thread int i; + static int res1, res2; + +- void thread_main (void *arg) ++ void *thread_main (void *parg) + { ++ int arg = *(int *)parg; + i = arg; + sleep (1); + if (arg == 1) + res1 = (i == arg); + else + res2 = (i == arg); ++ return NULL; + } + + int main () { +@@ -2846,8 +2848,10 @@ if test x$host_win32 = xno; then + + i = 5; + +- pthread_create (, NULL, thread_main, 1); +- pthread_create (, NULL, thread_main, 2); ++ int one = 1; ++ pthread_create (, NULL, thread_main, ); ++ int two = 2; ++ pthread_create (, NULL, thread_main, ); + + pthread_join (t1, NULL); + pthread_join (t2, NULL); diff --git a/dev-lang/mono/mono-6.12.0.199-r2.ebuild b/dev-lang/mono/mono-6.12.0.199-r2.ebuild new file mode 100644 index ..f18742acabed --- /dev/null +++ b/dev-lang/mono/mono-6.12.0.199-r2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHECKREQS_DISK_BUILD="4500M" +inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="https://mono-project.com; +SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz; + +LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~x86 ~amd64-linux" +IUSE="doc minimal nls pax-kernel selinux xen" + +# Note: mono works incorrect with older versions of libgdiplus +# Details on dotnet overlay issue: https://github.com/gentoo/dotnet/issues/429 +DEPEND=" + app-crypt/mit-krb5[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + ia64? ( sys-libs/libunwind ) + !minimal? ( >=dev-dotnet/libgdiplus-6.0.2 ) + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${DEPEND} + app-misc/ca-certificates + selinux? ( sec-policy/selinux-mono ) +" +# CMake is used for bundled deps +BDEPEND=" + dev-util/cmake + sys-devel/bc + app-alternatives/yacc + pax-kernel? ( sys-apps/elfix ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.12-try-catch.patch + "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch + "${FILESDIR}"/${PN}-6.12.0.199-configure-c99.patch +) + +pkg_pretend() { + linux-info_pkg_setup + + if use kernel_linux ; then + if linux_config_exists ; then + linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" + else + # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: be02856a46e00bbb861fd3c651cac42c2b7697d0 Author: Sam James gentoo org> AuthorDate: Thu Jan 13 01:41:45 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jan 13 01:42:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be02856a dev-lang/mono: fix automagic ccache usage This is for users to enable, not for build systems to do it based on whether ccache is installed (which leads to sandbox issues anyway). Closes: https://bugs.gentoo.org/830562 Signed-off-by: Sam James gentoo.org> .../mono-6.12.0.122-disable-automagic-ccache.patch | 22 ++ dev-lang/mono/mono-6.12.0.122.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch b/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch new file mode 100644 index ..b92592f6ea32 --- /dev/null +++ b/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/831079 +--- a/mono/btls/CMakeLists.txt b/mono/btls/CMakeLists.txt +@@ -12,11 +12,6 @@ endif() + enable_language(C) + enable_language(CXX) + +-find_program(CCACHE_PROGRAM ccache) +-if(CCACHE_PROGRAM) +-set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") +-endif() +- + if (MSVC OR CYGWIN) + set(BTLS_HOST_WIN32 1) + endif () +@@ -129,4 +124,4 @@ endif () + + if (CYGWIN) + target_link_libraries (mono-btls-shared wsock32 ws2_32) +-endif () +\ No newline at end of file ++endif () diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild b/dev-lang/mono/mono-6.12.0.122.ebuild index 449d4aebe3b2..97ee904ee535 100644 --- a/dev-lang/mono/mono-6.12.0.122.ebuild +++ b/dev-lang/mono/mono-6.12.0.122.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,6 +36,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-5.12-try-catch.patch + "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch ) pkg_pretend() {
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 13bcf3202dce3f2945ff0aa9b42c5e22219a0c88 Author: Mikhail Pukhlikov gentoo org> AuthorDate: Tue Jun 26 14:24:10 2018 + Commit: Mikhail Pukhlikov gentoo org> CommitDate: Tue Jun 26 14:30:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bcf320 dev-lang/mono: bump to 5.12.0.226 dev-lang/mono/Manifest| 1 + dev-lang/mono/files/mono-5.12-try-catch.patch | 31 dev-lang/mono/mono-5.12.0.226.ebuild | 109 ++ 3 files changed, 141 insertions(+) diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 5ad04430475..f951e468665 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -3,4 +3,5 @@ DIST mono-4.6.1.5.tar.bz2 83174665 BLAKE2B ce4586af882c6592d1615156d009e496b8405 DIST mono-4.8.0.425.tar.bz2 87955541 BLAKE2B dd3c7d26d9818c0512ddbbea6c0980ce5411904c93d5aff8aef581016268594ea1a887dc51332afc225db25d735ef3ef379a5f7b72acd95892e9efe399fb9df9 SHA512 7bab64adbebc277d3fc10301fa6af6cd64ea0836e2d74dfdd9b59684d9402689f9a4e397f3d36f519c7a892c14dcf8f8867d40a5119891874dfd10f9bbce2ac4 DIST mono-4.8.0.495.tar.bz2 87540431 BLAKE2B c067054c27e61fbd46cae962876afdf65fa4660db41482a7931436009d986ffd25cd9120f9d61f1db5e16b95423fb6cb81abf6be8eada408a9ed2e812f112e6d SHA512 0052b7b04ae25e7cb5970d742369b74c83a10c6c82da591e8d26ad9e13e8b2590a1cde27ca99e43aebc622c7a2a590b9e6c7ce519ac4185b0b6cf7134527cc9d DIST mono-4.8.0.524.tar.bz2 87392723 BLAKE2B ac17c3da6d6c08c4cb72c4fa300ded92625bd8c14c1e45ea9539efa42c8d085759f7bb298fe5df57bd41f18abf83f293d26a9e6272944933fcff0a3c16a7e4f3 SHA512 eb77b768a4a26e6a2a872f4845769cdc83f01af3377ecd6d932437d2a1b54bfd1ce727563906146195a54997b4b624fb75449a6f0bcfe818cbc4e6544841bf2b +DIST mono-5.12.0.226.tar.bz2 213373240 BLAKE2B 6aa8d9962aa51d6a7f8f6106835cef6a4eb626d7af56a09ca185736db2535dbaffd5d97d5d0eef39001b11d41d868706be4788496c8d0036bdbad24c5f6fcc46 SHA512 f4ab3066c9a3545ace0c4af50ddbe58cf5d9ffe4895cc546669f329b91988fcfebab91a070ea46b27536040823a3bbc1bd7e5552a49769988e8271d52662c583 DIST mono-5.4.1.6.tar.bz2 204934321 BLAKE2B 7aa3450a9bc4033f8084c4271b215af636e0df72d6349c97e0acd110d91e276d22b735d19bac2fb1e995ec34fa9e041831358a01d5c098b9c5e8b567d98350fe SHA512 d3618e9f127bc95b15feba5bf73317574872208770d83b8b545a9888df81a629e6fb14160db8a38526ffeb005f682e8dd9b8ced84bdb0cbb36dc9e7b28c240a4 diff --git a/dev-lang/mono/files/mono-5.12-try-catch.patch b/dev-lang/mono/files/mono-5.12-try-catch.patch new file mode 100644 index 000..051c72be685 --- /dev/null +++ b/dev-lang/mono/files/mono-5.12-try-catch.patch @@ -0,0 +1,31 @@ +diff -ur mono-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs mono-patched-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs +--- mono-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs 2017-11-17 18:12:57.0 +0300 mono-patched-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs 2017-12-06 06:24:45.067519852 +0300 +@@ -2810,14 +2810,21 @@ + + internal override object ClipboardRetrieve(IntPtr handle, int type, XplatUI.ClipboardToObject converter) + { +- XConvertSelection(DisplayHandle, handle, (IntPtr)type, (IntPtr)type, FosterParent, IntPtr.Zero); ++ try ++ { ++ XConvertSelection(DisplayHandle, handle, (IntPtr)type, (IntPtr)type, FosterParent, IntPtr.Zero); + +- Clipboard.Retrieving = true; +- while (Clipboard.Retrieving) { +- UpdateMessageQueue(null, false); +- } ++ Clipboard.Retrieving = true; ++ while (Clipboard.Retrieving) { ++ UpdateMessageQueue(null, false); ++ } + +- return Clipboard.Item; ++ return Clipboard.Item; ++ } ++ catch (Exception ex) ++ { ++ return null; ++ } + } + + internal override void ClipboardStore (IntPtr handle, object obj, int type, XplatUI.ObjectToClipboard converter, bool copy) diff --git a/dev-lang/mono/mono-5.12.0.226.ebuild b/dev-lang/mono/mono-5.12.0.226.ebuild new file mode 100644 index 000..bdaa577ec62 --- /dev/null +++ b/dev-lang/mono/mono-5.12.0.226.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~arm64" +RESTRICT="mirror" +SLOT="0" + +IUSE="nls minimal pax_kernel xen doc" + +inherit autotools eutils linux-info mono-env flag-o-matic pax-utils multilib-minimal + +DESCRIPTION="Mono
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 5127c755e4cb6a810f81eb38777e1d7917695f9c Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Mar 30 17:25:39 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Mar 30 17:26:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5127c755 dev-lang/mono: fix 32-bit build on amd64, bug #600664 It's a backport of https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0e31adf6af28adf3c8709e542ecf7039cb5942 Reported-by: Toralf Förster Fixed-by: Eric Hermes Closes: https://bugs.gentoo.org/600664 Package-Manager: Portage-2.3.26, Repoman-2.3.7 dev-lang/mono/files/mono-4.4.1.0-x86_32.patch | 20 dev-lang/mono/mono-4.4.1.0.ebuild | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/dev-lang/mono/files/mono-4.4.1.0-x86_32.patch b/dev-lang/mono/files/mono-4.4.1.0-x86_32.patch new file mode 100644 index 000..751c057e6ce --- /dev/null +++ b/dev-lang/mono/files/mono-4.4.1.0-x86_32.patch @@ -0,0 +1,20 @@ +Native toolchain can default to different ABI (amd64 in bug case). +Set target to i386. +https://bugs.gentoo.org/600664 +diff -Naur a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c +--- a/mono/mini/aot-compiler.c 2016-06-22 04:31:58.0 -0500 b/mono/mini/aot-compiler.c 2017-12-08 14:25:35.338251941 -0600 +@@ -9438,7 +9438,12 @@ + const char *tool_prefix = acfg->aot_opts.tool_prefix ? acfg->aot_opts.tool_prefix : ""; + char *ld_flags = acfg->aot_opts.ld_flags ? acfg->aot_opts.ld_flags : g_strdup(""); + +-#if defined(TARGET_AMD64) && !defined(TARGET_MACH) ++#if defined(TARGET_X86) ++#define LD_OPTIONS "-m elf_i386" ++#if !defined(TARGET_MACH) ++#define AS_OPTIONS "--32" ++#endif ++#elif defined(TARGET_AMD64) && !defined(TARGET_MACH) + #define AS_OPTIONS "--64" + #elif defined(TARGET_POWERPC64) + #define AS_OPTIONS "-a64 -mppc64" diff --git a/dev-lang/mono/mono-4.4.1.0.ebuild b/dev-lang/mono/mono-4.4.1.0.ebuild index 328ec068472..397235e7db5 100644 --- a/dev-lang/mono/mono-4.4.1.0.ebuild +++ b/dev-lang/mono/mono-4.4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -79,6 +79,8 @@ src_prepare() { #epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch" #epatch "${FILESDIR}/fix-for-bug36724.patch" + epatch "${FILESDIR}/${P}-x86_32.patch" + default #eapply_user multilib_copy_sources
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 7a0e31adf6af28adf3c8709e542ecf7039cb5942 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Dec 1 21:53:42 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Dec 1 22:05:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0e31ad dev-lang/mono: fix ABI_X86=32 build case for amd64 host, bug #600664 The patch passes flags to adjust target ABI of a multiarch assembler and linker. Reported-by: Ivan Dorna Reported-by: Toralf Förster Bug: https://github.com/gentoo/dotnet/issues/270 Bug: https://bugs.gentoo.org/600664 Package-Manager: portage-2.3.2 dev-lang/mono/files/mono-4.8.0.371-x86_32.patch | 27 + dev-lang/mono/mono-4.8.0.371.ebuild | 5 - 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/dev-lang/mono/files/mono-4.8.0.371-x86_32.patch b/dev-lang/mono/files/mono-4.8.0.371-x86_32.patch new file mode 100644 index ..063ea63 --- /dev/null +++ b/dev-lang/mono/files/mono-4.8.0.371-x86_32.patch @@ -0,0 +1,27 @@ +Native toolchain can default to different ABI (amd64 in bug case). +Set target to i386. +https://bugs.gentoo.org/600664 +diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c +index a1c359f..beaaf76 100644 +--- a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c +@@ -9842,7 +9842,9 @@ compile_asm (MonoAotCompile *acfg) + const char *tool_prefix = acfg->aot_opts.tool_prefix ? acfg->aot_opts.tool_prefix : ""; + char *ld_flags = acfg->aot_opts.ld_flags ? acfg->aot_opts.ld_flags : g_strdup(""); + +-#if defined(TARGET_AMD64) && !defined(TARGET_MACH) ++#if defined(TARGET_X86) && !defined(TARGET_MACH) ++#define AS_OPTIONS "--32" ++#elif defined(TARGET_AMD64) && !defined(TARGET_MACH) + #define AS_OPTIONS "--64" + #elif defined(TARGET_POWERPC64) + #define AS_OPTIONS "-a64 -mppc64" +@@ -9886,6 +9888,8 @@ compile_asm (MonoAotCompile *acfg) + #define LD_OPTIONS "--shared" + #elif defined(TARGET_POWERPC64) + #define LD_OPTIONS "-m elf64ppc" ++#elif defined(TARGET_X86) ++#define LD_OPTIONS "-m elf_i386" + #endif + + #ifndef LD_OPTIONS diff --git a/dev-lang/mono/mono-4.8.0.371.ebuild b/dev-lang/mono/mono-4.8.0.371.ebuild index 4a4e512..1995170 100644 --- a/dev-lang/mono/mono-4.8.0.371.ebuild +++ b/dev-lang/mono/mono-4.8.0.371.ebuild @@ -33,7 +33,10 @@ DEPEND="${COMMONDEPEND} !dev-lang/mono-basic " -PATCHES=("${FILESDIR}"/${PN}-4.8.0.371-makedev.patch) +PATCHES=( + "${FILESDIR}"/${PN}-4.8.0.371-makedev.patch + "${FILESDIR}"/${PN}-4.8.0.371-x86_32.patch +) S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: b435de6c181413d73aa1e94f4f9de76e9adaaeee Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Nov 30 22:53:25 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Nov 30 22:53:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b435de6c dev-lang/mono: fix makedev() declaration on glibc-2.24 Package-Manager: portage-2.3.2 dev-lang/mono/files/mono-4.8.0.371-makedev.patch | 34 dev-lang/mono/mono-4.8.0.371.ebuild | 6 - 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/dev-lang/mono/files/mono-4.8.0.371-makedev.patch b/dev-lang/mono/files/mono-4.8.0.371-makedev.patch new file mode 100644 index ..7a4a44b --- /dev/null +++ b/dev-lang/mono/files/mono-4.8.0.371-makedev.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/575232 +diff --git a/configure.ac b/configure.ac +index fa5977b..2832c69 100644 +--- a/configure.ac b/configure.ac +@@ -416,6 +416,10 @@ AC_HEADER_STDC + AC_LIBTOOL_WIN32_DLL + # This causes monodis to not link correctly + #AC_DISABLE_FAST_INSTALL ++ ++#lookup makedev() header ++AC_HEADER_MAJOR ++ + AM_PROG_LIBTOOL + # Use dolt (http://dolt.freedesktop.org/) instead of libtool for building. + DOLT +diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c +index 53c271a..7ff8d03 100644 +--- a/mono/io-layer/processes.c b/mono/io-layer/processes.c +@@ -45,6 +45,13 @@ + #include + #endif + ++/* makedev() macro */ ++#ifdef MAJOR_IN_MKDEV ++#include ++#elif defined MAJOR_IN_SYSMACROS ++#include ++#endif ++ + /* sys/resource.h (for rusage) is required when using osx 10.3 (but not 10.4) */ + #ifdef __APPLE__ + #include diff --git a/dev-lang/mono/mono-4.8.0.371.ebuild b/dev-lang/mono/mono-4.8.0.371.ebuild index fa00af0..4a4e512 100644 --- a/dev-lang/mono/mono-4.8.0.371.ebuild +++ b/dev-lang/mono/mono-4.8.0.371.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal +inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" HOMEPAGE="http://www.mono-project.com/Main_Page; @@ -33,6 +33,8 @@ DEPEND="${COMMONDEPEND} !dev-lang/mono-basic " +PATCHES=("${FILESDIR}"/${PN}-4.8.0.371-makedev.patch) + S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" pkg_pretend() { @@ -73,6 +75,8 @@ src_prepare() { #append-flags -fPIC default + # PATCHES contains configure.ac patch + eautoreconf multilib_copy_sources }
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 228994031585879b17b90ac6659e5cb80214d088 Author: Heather Cynede gentoo org> AuthorDate: Thu Dec 10 08:04:32 2015 + Commit: Heather Cynede gentoo org> CommitDate: Thu Dec 10 08:04:32 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22899403 dev-lang/mono: bump to 4.2.1.124, patch for bug 36724 Package-Manager: portage-2.2.26 dev-lang/mono/Manifest | 1 + dev-lang/mono/files/fix-for-bug36724.patch | 13 dev-lang/mono/mono-4.2.1.124.ebuild| 115 + 3 files changed, 129 insertions(+) diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 6c6134e..9953b28 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -3,3 +3,4 @@ DIST mono-3.12.1.tar.bz2 73487974 SHA256 5d8cf153af2948c06bc9fbf5088f6834868e4db DIST mono-4.0.3.20.tar.bz2 95987018 SHA256 976c0be3ab9b66361f48e8133c60b1b2942b88c44a7a11a19cd98f5ff64313fc SHA512 bbf65abb4d91aa65fd467a59dcc7c290f779ab9f8df9d82b56957893556ad8d13dc3cc85f3128145e0dd15aaa8b0ea872c4b66af4fd211243d368514f10a07cd WHIRLPOOL 9e7730c234dbf34a81637789a3ffee4ce37a1eaef6748f28a79875411d3c1d97cfbdce6146abfa7dde245e821fe52b2766bb7240637a8b8272788dffc5fd21ae DIST mono-4.0.5.1.tar.bz2 96533206 SHA256 c2f42944dded3196c6449f90e79990f1951070a361a0dcc2350fc56e945bc229 SHA512 c0783f7b2e344ca00ea354d2723821636a2594345f7e1fd93bf84e9ba1b5501848d4f49b1538279aac9f6f333d296394322e08a9749fe2208340104aa594cd09 WHIRLPOOL ae9b0758c019003fc9ecdbd051974d547c59c24a4505e71c1fc7db8095bc98cdb486405e2ba1794bfb34ecc6bebeb8b5165a97ba8f596897887eb7f2da806b89 DIST mono-4.2.1.102.tar.bz2 96228604 SHA256 b7b461fe04375f621d88166ba8c6f1cb33c439fd3e17136460f7d087a51ed792 SHA512 ffc6bee387b5e46a22e74600a5e5c0c7953b63b4d2392586a7cce9e1d0f6eeaa81ba5b6abaf911870913e3749ff577474931a2c1ce16cab9a41a3b3dd745638e WHIRLPOOL eb605bbdfd411e181706ff3728cd1690385e1e899a11a41872bc015eca2d5ee1c3f46b24d7c3956eb0818aa0a3944d533f6f531ed8815c7b0988f130b592feb1 +DIST mono-4.2.1.124.tar.bz2 96235544 SHA256 6098476ce5c74685b23e7a96be8fe28a27db4167375fee103a275820054d647c SHA512 56515fdd0ad047756804f2440c302e93f2eaec42dc462680035d0f9c4ea2c3974572b926a468629a49743837beeb8286ff0058392b45a89e9b1fb3ba5299fb8b WHIRLPOOL fe8c6c365d4ab91a1812c7b79a9d0b176eb42aa6515fe486e6de71199be7eaa52dbfd0dad6c31df78bd1a33847dbc45caa4b3928853810e5d354aed16ef6ca13 diff --git a/dev-lang/mono/files/fix-for-bug36724.patch b/dev-lang/mono/files/fix-for-bug36724.patch new file mode 100644 index 000..187b4ba --- /dev/null +++ b/dev-lang/mono/files/fix-for-bug36724.patch @@ -0,0 +1,13 @@ +diff --git a/mcs/class/System.Web/System.Web.Util/UrlUtils.cs b/mcs/class/System.Web/System.Web.Util/UrlUtils.cs +index 4f07e83..e229a91 100644 +--- a/mcs/class/System.Web/System.Web.Util/UrlUtils.cs b/mcs/class/System.Web/System.Web.Util/UrlUtils.cs +@@ -54,7 +54,7 @@ namespace System.Web.Util { + if (path.StartsWith (appvpath)) + path = path.Substring (appvpath.Length); + +- if (path [0] == '/') ++ if (path.StartsWith("/")) + path = path.Length > 1 ? path.Substring (1) : ""; + + return Canonic (appvpath + "(" + id + ")/" + path); diff --git a/dev-lang/mono/mono-4.2.1.124.ebuild b/dev-lang/mono/mono-4.2.1.124.ebuild new file mode 100644 index 000..83b5c4b --- /dev/null +++ b/dev-lang/mono/mono-4.2.1.124.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" +AUTOTOOLS_AUTORECONF=1 + +inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils versionator + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.mono-project.com/Main_Page; +SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2; + +LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="nls minimal pax_kernel xen doc" + +COMMONDEPEND=" + !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) + ia64? ( sys-libs/libunwind ) + nls? ( sys-devel/gettext ) +" +RDEPEND="${COMMONDEPEND} + || ( www-client/links www-client/lynx ) +" +DEPEND="${COMMONDEPEND} + sys-devel/bc + virtual/yacc + pax_kernel? ( sys-apps/elfix ) + !dev-lang/mono-basic +" + +MAKEOPTS="${MAKEOPTS} -j1" #nowarn +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +pkg_pretend() { + # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling. + # See http://bugs.gentoo.org/261869 for more info." + CONFIG_CHECK="SYSVIPC" + use kernel_linux && check_extra_config +} + +pkg_setup() { + linux-info_pkg_setup + mono-env_pkg_setup +} +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
commit: 8f5667689e69837a94170aa003a3bfbc3ea207c7 Author: Heather Cynede cynede AT gentoo DOT org AuthorDate: Wed Aug 12 13:56:06 2015 + Commit: Heather Cynede cynede AT gentoo DOT org CommitDate: Wed Aug 12 13:58:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f566768 dev-lang/mono bump to 4.0.3.20 Package-Manager: portage-2.2.20.1 dev-lang/mono/Manifest | 4 +- .../files/add_missing_vb_portable_targets.patch| 20 ++ dev-lang/mono/files/mono-3.2.1-mdoc-fix.patch | 12 + ...mono-4.0.2.5-fix-decimal-ms-on-big-endian.patch | 22 ++ ...ix-mono-dis-makefile-am-when-without-sgen.patch | 15 ++ .../files/mono-4.0.2.5-fix-ppc-atomic-add-i4.patch | 79 ++ dev-lang/mono/files/systemweb3.patch | 22 ++ dev-lang/mono/mono-2.10.9-r2.ebuild| 265 - dev-lang/mono/mono-3.0.7.ebuild| 100 .../{mono-3.2.8.ebuild = mono-4.0.3.20.ebuild}| 73 +++--- 10 files changed, 199 insertions(+), 413 deletions(-) diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 89fd30f..af6730b 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -1,5 +1,3 @@ -DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548 -DIST mono-3.0.7.tar.bz2 81538605 SHA256 89357e58a1b5cb6ff3116d4ce8227dee61b1c0cb494fa2844da5b1fc55fb890b SHA512 b1cb57a38c22d9186fcc1cfbd344e05e24edc5d56391238311ac6b2841a4f971a32f46c3e064760045e8352140a7c4fe785a6108d945371af9de3730e186fbdd WHIRLPOOL 19f451194361d0f0fa3c403310c63cd2f444a2132693fc4b127311a57d0a1df18f917d4c373b8f8f9fbf217d5c6d85f3092ac75d6aede285ed80d3bb2b07f758 DIST mono-3.12.1.tar.bz2 73487974 SHA256 5d8cf153af2948c06bc9fbf5088f6834868e4db8e5f41c7cff76da173732b60d SHA512 7ff87d95c347186347dc7a9ffb767112717de2b808f8f1b612c56c9eb70fdcc0c8f586989be4509a2768e71854d8195567196c992cc2c5b184ecbe5ac190 WHIRLPOOL fe3a6cdb8bf4602ad1d1e43099b2a552005c315a232a7d2bddf0081a68e882228712af5301f18d3a890f454041c4a34d6f0926aaba34401ecfa702eecd9415c8 DIST mono-3.2.3.tar.bz2 81810387 SHA256 b8c2f97d6a5232dbf5a8180e5c38d4722b81af748893649d7d9e82c5cf8ef41a SHA512 a40a03d09ce07d7f8c25ef872835f6f29458e02aa386e4097b2cffd918d3bece1205bb42beb51a1384eba884e4c6f9b6505421babf337ec64f670c7f90c6262d WHIRLPOOL 9781dd387ce57a54ae84c91b6bfc346c4607daa3738746db0f41515dfc6c0b271b6e7d2ec828f75dc6953d15fd965cd3ef1d88fe5925c6dc8019cc9d188d6982 -DIST mono-3.2.8.tar.bz2 77515552 SHA256 fdb48cad26149288dcb99a3d9b4ec89735706000242c50bdc21ce657af201a40 SHA512 822e9064b7f5897f960e3fbe9de5db31ac1825ecb6edb2b5b49d92fc658fe3ac2580458ecb26b6da7b6135e86a39d7376b8c0eb52d8c3298292a4dae7983f329 WHIRLPOOL 21e22fe0204ae9263f10fa5379d7c884519bb5cddf6f780f5ba6615db25954b1ea8ef1746ee8db738f7d461e93626656525da5cc6221061e8a53bdd0d0c5f62c +DIST mono-4.0.3.20.tar.bz2 95987018 SHA256 976c0be3ab9b66361f48e8133c60b1b2942b88c44a7a11a19cd98f5ff64313fc SHA512 bbf65abb4d91aa65fd467a59dcc7c290f779ab9f8df9d82b56957893556ad8d13dc3cc85f3128145e0dd15aaa8b0ea872c4b66af4fd211243d368514f10a07cd WHIRLPOOL 9e7730c234dbf34a81637789a3ffee4ce37a1eaef6748f28a79875411d3c1d97cfbdce6146abfa7dde245e821fe52b2766bb7240637a8b8272788dffc5fd21ae diff --git a/dev-lang/mono/files/add_missing_vb_portable_targets.patch b/dev-lang/mono/files/add_missing_vb_portable_targets.patch new file mode 100644 index 000..ece90a5 --- /dev/null +++ b/dev-lang/mono/files/add_missing_vb_portable_targets.patch @@ -0,0 +1,20 @@ +Index: mcs/tools/xbuild/targets/Microsoft.Portable.VisualBasic_4.0.targets +=== +--- /dev/null 1970-01-01 00:00:00.0 + mcs/tools/xbuild/targets/Microsoft.Portable.VisualBasic_4.0.targets 2015-05-15 15:55:12.074775985 +0100 +@@ -0,0 +1,5 @@ ++Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003; ++ Import Project=..\Microsoft.Portable.Core.props / ++ Import Project=$(MSBuildToolsPath)\Microsoft.VisualBasic.targets / ++ Import Project=..\Microsoft.Portable.Core.targets / ++/Project +Index: mcs/tools/xbuild/targets/Microsoft.Portable.VisualBasic_4.5.targets +=== +--- /dev/null 1970-01-01 00:00:00.0 + mcs/tools/xbuild/targets/Microsoft.Portable.VisualBasic_4.5.targets 2015-05-15 15:55:19.194775876 +0100 +@@ -0,0 +1,5 @@ ++Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003; ++ Import Project=..\Microsoft.Portable.Core.props / ++ Import Project=$(MSBuildToolsPath)\Microsoft.VisualBasic.targets / ++ Import