mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-14 18:50:10 -07:00
Merge branch 'gcc-13'
This commit is contained in:
commit
bca7f17961
@ -1 +1 @@
|
||||
1550a39951a2d38829ba1116289cdcd7cbace24a42257bfc2b2c05737d3b23e1
|
||||
3a78d3bbb0e553359035da0c5ce9a2eaadcc658d412dc12f9075caa1bbd74c5e2a
|
||||
|
@ -25,7 +25,8 @@ export PATH="$PATH:$PWD"
|
||||
--disable-gprof \
|
||||
--disable-gprofng \
|
||||
--with-mmap \
|
||||
--with-system-zlib
|
||||
--with-system-zlib \
|
||||
--without-zstd
|
||||
|
||||
make configure-host
|
||||
make tooldir=/usr
|
||||
|
@ -1,2 +1,2 @@
|
||||
8d9298d5678dff96f77438dd4766341f9c81c5daf95b9efcaaffa462ff83b67e46
|
||||
265bb02f18c6ffb017d5acf80b7cf03ada7f0013143fa99ad89513c1cd02075f35
|
||||
0930e07dc2c5bf1172f3fd003a1be7abc3c0c420ce5bd76bc2e514c63800adcb72
|
||||
|
@ -1,2 +1,2 @@
|
||||
https://gcc.gnu.org/pub/gcc/releases/gcc-12.2.0/gcc-12.2.0.tar.xz
|
||||
https://gcc.gnu.org/pub/gcc/releases/gcc-13.1.0/gcc-13.1.0.tar.xz
|
||||
files/c99
|
||||
|
@ -1 +1 @@
|
||||
12.2.0 2
|
||||
13.1.0 1
|
||||
|
@ -1,2 +1,2 @@
|
||||
212608597bc75d866673eefe7746aa4bafa8d244ff47a5a0d13161656287a918
|
||||
efca06d0a52037c732007f33f99cd368a836b5f9fec3ae314cfd73182f337c01
|
||||
766bbc0008632839cf475cd3714f1d73d871b26f358e16409ac5e9a63c37a52297
|
||||
d2216d1d703f39deaa8133f6fe6dd1370e4d6a273925a635e530dab4fe71203ff2
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < gcc-13.patch
|
||||
|
||||
# Fix build when libatomic.so does not exist in the system.
|
||||
# This may be provided by compiler-rt which requires no additional
|
||||
# linker flags to be used.
|
||||
|
@ -1 +1,2 @@
|
||||
bc59c0d2867daed8f814a084fd45c6b4108bc23a078b5306ec88928320d218f887
|
||||
58325e9f67df55c410451510a8e29c9a091b824599f38229503908e3d345ee849b
|
||||
|
44
extra/nodejs/patches/gcc-13.patch
Normal file
44
extra/nodejs/patches/gcc-13.patch
Normal file
@ -0,0 +1,44 @@
|
||||
From 0164c09d4025df2bd1a42f14de29166aa0e7ac7a Mon Sep 17 00:00:00 2001
|
||||
From: Richard Lau <rlau@redhat.com>
|
||||
Date: Wed, 26 Apr 2023 15:46:00 -0400
|
||||
Subject: [PATCH] deps: V8: cherry-pick c5ab3e4f0c5a
|
||||
|
||||
Original commit message:
|
||||
|
||||
libstdc++: fix incomplete type in v8::internal::is_subtype<T, U>
|
||||
|
||||
Using std::convertible with incomplete types is UB. However, till
|
||||
GCC 12 it was accepted and std::convertible returned false.
|
||||
This fails now for e.g. v8::internal::WasmArray. Use
|
||||
std::disjunction and std::conjunction instead which are short-
|
||||
circuiting, because std::is_base_of<T, T> is already true.
|
||||
|
||||
Bug: chromium:957519
|
||||
Change-Id: Ia26643dbdf0fb00d5586c71ae6b18e8d0f3cf96e
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4394663
|
||||
Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
|
||||
Reviewed-by: Clemens Backes <clemensb@chromium.org>
|
||||
Cr-Commit-Position: refs/heads/main@{#86904}
|
||||
|
||||
Refs: https://github.com/v8/v8/commit/c5ab3e4f0c5a3ce880941184ef8447c27cd19a93
|
||||
---
|
||||
common.gypi | 2 +-
|
||||
deps/v8/src/codegen/tnode.h | 5 +++--
|
||||
2 files changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/deps/v8/src/codegen/tnode.h b/deps/v8/src/codegen/tnode.h
|
||||
index cd7bd8db98c24..7629e89ad693f 100644
|
||||
--- a/deps/v8/src/codegen/tnode.h
|
||||
+++ b/deps/v8/src/codegen/tnode.h
|
||||
@@ -269,8 +269,9 @@ using BuiltinPtr = Smi;
|
||||
template <class T, class U>
|
||||
struct is_subtype {
|
||||
static const bool value =
|
||||
- std::is_base_of<U, T>::value || (std::is_same<U, MaybeObject>::value &&
|
||||
- std::is_convertible<T, Object>::value);
|
||||
+ std::disjunction<std::is_base_of<U, T>,
|
||||
+ std::conjunction<std::is_same<U, MaybeObject>,
|
||||
+ std::is_convertible<T, Object>>>::value;
|
||||
};
|
||||
template <class T1, class T2, class U>
|
||||
struct is_subtype<UnionT<T1, T2>, U> {
|
@ -1 +1,2 @@
|
||||
https://nodejs.org/download/release/v20.0.0/node-v20.0.0.tar.xz
|
||||
patches/gcc-13.patch
|
||||
|
@ -1,4 +1,4 @@
|
||||
db5ba4cf4c77a500572a910ca6553f76e4301a4d363d9492087631998ef43b6ed9
|
||||
a8aa6ca676851c2cf28396610644f61215c0d2473c1a34b0da95d198804eef9326
|
||||
be44c4a1e76704bd9e0fa713f00b88e9897150eda359c3bf58c30461d9cf56e3c8
|
||||
ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc
|
||||
8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8
|
||||
|
@ -1,4 +1,4 @@
|
||||
https://ftp.mozilla.org/pub/firefox/releases/113.0b4/source/firefox-113.0b4.source.tar.xz
|
||||
https://ftp.mozilla.org/pub/firefox/releases/113.0b9/source/firefox-113.0b9.source.tar.xz
|
||||
patches/fix-linux-header.patch
|
||||
patches/musl-sandbox.patch
|
||||
patches/no-atk.patch
|
||||
|
@ -1 +1 @@
|
||||
113.0b4 1
|
||||
113.0b9 1
|
||||
|
@ -1,5 +1,8 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# Fix for GCC 13.
|
||||
export CFLAGS="$CFLAGS -Wno-error=switch"
|
||||
|
||||
# Default background color.
|
||||
sed 's/0.25f, 0.25f, 0.25f/0.929, 0.870, 0.678/' \
|
||||
sway/desktop/render.c > _
|
||||
|
Loading…
Reference in New Issue
Block a user