From 34dd08f68796c7f0489b18dbca96d3af38a2e2ec Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Tue, 1 Mar 2022 21:51:32 -0400 Subject: [PATCH] Stuff. --- ports/official/core/gcc/checksums | 1 + ports/official/core/gcc/depends | 3 +- ports/official/core/gcc/files/musl-jit.patch | 63 ++++++++++++++++++++ ports/official/core/gcc/sources | 1 + ports/official/extra/libwebp/sources | 2 +- 5 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 ports/official/core/gcc/files/musl-jit.patch diff --git a/ports/official/core/gcc/checksums b/ports/official/core/gcc/checksums index 4f2284e..8018aa9 100644 --- a/ports/official/core/gcc/checksums +++ b/ports/official/core/gcc/checksums @@ -4,3 +4,4 @@ fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 6812a560f3752dc2e0cc08bfc3c860044c57f4a2aeb8e387c0568246171d1794 765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c +0485655dbccf9034ba1d2cf5fb2e7bdbfe10aee32906c9488c0ec3da69dbb44f diff --git a/ports/official/core/gcc/depends b/ports/official/core/gcc/depends index 8210dce..1afb86b 100644 --- a/ports/official/core/gcc/depends +++ b/ports/official/core/gcc/depends @@ -1,5 +1,6 @@ binutils bison make flex make - +libmpc +libmpfr libisl diff --git a/ports/official/core/gcc/files/musl-jit.patch b/ports/official/core/gcc/files/musl-jit.patch new file mode 100644 index 0000000..d2ed169 --- /dev/null +++ b/ports/official/core/gcc/files/musl-jit.patch @@ -0,0 +1,63 @@ +diff --git a/gcc/jit/jit-playback.c b/gcc/jit/jit-playback.c +index 5bccf591a..35f5e35ef 100644 +--- a/gcc/jit/jit-playback.c ++++ b/gcc/jit/jit-playback.c +@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + . */ + ++#include ++ + #include "config.h" + #include "system.h" + #include "coretypes.h" +@@ -41,8 +43,6 @@ along with GCC; see the file COPYING3. If not see + #include "diagnostic.h" + #include "stmt.h" + +-#include +- + #include "jit-playback.h" + #include "jit-result.h" + #include "jit-builtins.h" +diff --git a/gcc/jit/jit-recording.c b/gcc/jit/jit-recording.c +index a237d574f..5785e3269 100644 +--- a/gcc/jit/jit-recording.c ++++ b/gcc/jit/jit-recording.c +@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + . */ + ++#include ++ + #include "config.h" + #include "system.h" + #include "coretypes.h" +@@ -25,8 +27,6 @@ along with GCC; see the file COPYING3. If not see + #include "pretty-print.h" + #include "toplev.h" + +-#include +- + #include "jit-builtins.h" + #include "jit-recording.h" + #include "jit-playback.h" +diff --git a/gcc/jit/libgccjit.c b/gcc/jit/libgccjit.c +index f9c33c63c..75f21d275 100644 +--- a/gcc/jit/libgccjit.c ++++ b/gcc/jit/libgccjit.c +@@ -18,13 +18,13 @@ You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + . */ + ++#include + #include "config.h" + #include "system.h" + #include "coretypes.h" + #include "timevar.h" + #include "typed-splay-tree.h" + #include "cppbuiltin.h" +-#include + + #include "libgccjit.h" + #include "jit-recording.h" diff --git a/ports/official/core/gcc/sources b/ports/official/core/gcc/sources index f8a2982..3e7e9fe 100644 --- a/ports/official/core/gcc/sources +++ b/ports/official/core/gcc/sources @@ -4,3 +4,4 @@ https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz gcc/mpfr https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz gcc/mpc https://repo.or.cz/isl.git/snapshot/73ab37ba8bb6a21b9672e29073ece533362e685d.tar.gz gcc/isl files/c99 +files/musl-jit.patch diff --git a/ports/official/extra/libwebp/sources b/ports/official/extra/libwebp/sources index f71b049..28bfda6 100644 --- a/ports/official/extra/libwebp/sources +++ b/ports/official/extra/libwebp/sources @@ -1 +1 @@ -http://downloads.webmproject.org/releases/webp/libwebp-1.2.1.tar.gz +https://deb.debian.org/debian/pool/main/libw/libwebp/libwebp_1.2.1.orig.tar.gz