aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-03-31 07:56:31 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-03-31 07:58:12 +0000
commit6957885149d8c97ec0c32b7988dac349c8d26356 (patch)
treeddf80e175b8a54778a24660728e7a2dfb2f97c5f
parentfe14b2f03edf070fd533bfd3ec65f19d08f34e3f (diff)
downloadaports-6957885149d8c97ec0c32b7988dac349c8d26356.tar.gz
aports-6957885149d8c97ec0c32b7988dac349c8d26356.tar.bz2
aports-6957885149d8c97ec0c32b7988dac349c8d26356.tar.xz
main/gcc: ensure libucontext is linked against libgdruntime on mips
-rw-r--r--main/gcc/405-dlang-mips.patch10
-rw-r--r--main/gcc/APKBUILD4
2 files changed, 12 insertions, 2 deletions
diff --git a/main/gcc/405-dlang-mips.patch b/main/gcc/405-dlang-mips.patch
index 2b802d1b41..1b222a0d43 100644
--- a/main/gcc/405-dlang-mips.patch
+++ b/main/gcc/405-dlang-mips.patch
@@ -22,3 +22,13 @@
else
static assert(0, "Platform not supported");
+--- gcc-9.3.0.orig/libphobos/configure.tgt
++++ gcc-9.3.0/libphobos/configure.tgt
+@@ -38,6 +38,7 @@
+ ;;
+ mips*-*-linux*)
+ LIBPHOBOS_SUPPORTED=yes
++ LIBDRUNTIME_NEEDS_UCONTEXT=yes
+ ;;
+ riscv*-*-linux*)
+ LIBPHOBOS_SUPPORTED=yes
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 97352593cf..2efdcaedcd 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -6,7 +6,7 @@ pkgver=9.3.0
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="$pkgname$_target"
-pkgrel=0
+pkgrel=1
pkgdesc="The GNU Compiler Collection"
url="https://gcc.gnu.org"
arch="all"
@@ -640,4 +640,4 @@ f4ef08454e28c8732db69115e4998ec153399e8d229dd27f923dbdcf57b68128a65640d026cc7f45
9d73f21eaa2458d28a144dd0e5478ed52763a4d8bbf62084b607db52bce1e2242f773c853fc34e6aae2d53c4124948139954627064e850e9dabaddaef5cb9d69 402-dlang-stat.patch
fd056014d0c6f627108d7387bfe46b5fb66786a16fa964da55b0442658b1c8e9e903c641a9e3233000ef37691e32ea4fef22029ab5eba217ccbc8bd5941e81ae 403-dlang-ibmz.patch
ddb3ca26b5e55f6d376036c2ed87959770bfb72d1175d0dba332f705edf6817806d53765c838ff670472a16ab175bd1ce88946c19d83f9d5e53ff2b4d3558dfb 404-dlang-zlib.patch
-3a3ffc09872767453f01f737f5254d20c4094ec03a73b1e855860746cd752b2d5bc0583e994c9c0391a8258358b407f7795ba8706ce2a56d22a1a01d954bccb2 405-dlang-mips.patch"
+3f40f796f50d49ea0a185d3454c79606fb5f90ed48c030fe25c1df8c4a72ba7cae37dccdb260cf737beb3e921dc2ddad68effbe446dbf220a07d0158b9b9ca8d 405-dlang-mips.patch"