diff options
author | TBK <tbk@jjtc.eu> | 2019-03-08 10:44:16 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-11 17:35:05 +0000 |
commit | fa8bb1ab728fd9c90e4ac329e47acd12d3f31e80 (patch) | |
tree | 0c116037fa0bf0d8c440550d609dee5ce0e9082d /testing | |
parent | 833a4377701c2bf5e22f19398b9fa32a35ec085c (diff) | |
download | aports-fa8bb1ab728fd9c90e4ac329e47acd12d3f31e80.tar.bz2 aports-fa8bb1ab728fd9c90e4ac329e47acd12d3f31e80.tar.xz |
testing/mono: upgrade to 5.18.0.268
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mono/APKBUILD | 22 | ||||
-rw-r--r-- | testing/mono/fix-mono-state.patch | 11 |
2 files changed, 21 insertions, 12 deletions
diff --git a/testing/mono/APKBUILD b/testing/mono/APKBUILD index 0476df675b..158fb0b885 100644 --- a/testing/mono/APKBUILD +++ b/testing/mono/APKBUILD @@ -2,18 +2,19 @@ # Contributor: blattersturm <peachypies@protonmail.ch> # Maintainer: pkgname=mono -pkgver=5.10.0.179 -pkgrel=1 +pkgver=5.18.0.268 +pkgrel=0 pkgdesc="Free implementation of the .NET platform including runtime and compiler" url="https://www.mono-project.com/" arch="x86_64 x86" -license="GPL" +license="MIT" depends="python2" -depends_dev="zlib-dev libgdiplus-dev" -makedepends="$depends_dev python2 linux-headers paxmark autoconf automake libtool cmake" +depends_dev="libgdiplus-dev zlib-dev" +makedepends="$depends_dev autoconf automake cmake libtool linux-headers paxmark python2" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.mono-project.com/sources/mono/mono-${pkgver/_/~}.tar.bz2" -builddir="$srcdir/$pkgname-$pkgver" +source="https://download.mono-project.com/sources/mono/mono-${pkgver/_/~}.tar.bz2 + fix-mono-state.patch + " prepare() { default_prepare @@ -29,8 +30,6 @@ prepare() { } build() { - cd "$builddir" - # Based on Fedora and SUSE package. export CFLAGS="$CFLAGS -fno-strict-aliasing" @@ -55,8 +54,6 @@ build() { } package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install paxmark mr "$pkgdir"/usr/bin/mono-sgen @@ -70,4 +67,5 @@ package() { rm ./usr/lib/libMonoSupportW.* } -sha512sums="bda3e13f8c1598ecf2ab4ad288a4f92b24e91262c2e4ddf318d2dba981198fd28427a4ff455e68f71c88b995db950b85da69d197ce04147281ffa94a994e3434 mono-5.10.0.179.tar.bz2" +sha512sums="cfd81fe3bc23bbef85816a30eece6860cdd8bd0c9e595b0d15b95dda0c9c408acfcae2904f6e750c24b68be571592747fb34d6bd93fb50fe9de9014e8ee88c66 mono-5.18.0.268.tar.bz2 +255946de10a72f0acae276e73791e73c786ee9befb73e2691a3583c7f6d5513380a7a30649a1ac435ca5fba65a67891313a81609639ecacad7328f20443b0c4d fix-mono-state.patch" diff --git a/testing/mono/fix-mono-state.patch b/testing/mono/fix-mono-state.patch new file mode 100644 index 0000000000..570916b968 --- /dev/null +++ b/testing/mono/fix-mono-state.patch @@ -0,0 +1,11 @@ +--- a/mono/utils/mono-state.c ++++ b/mono/utils/mono-state.c +@@ -33,7 +33,7 @@ + #endif + + #include <sys/param.h> +-#include <sys/sysctl.h> ++#include <linux/sysctl.h> + #include <fcntl.h> + + typedef struct { |