diff --git a/.SRCINFO b/.SRCINFO index c02591e..baab2bc 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -60,8 +60,10 @@ pkgbase = firedragon backup = usr/lib/firedragon/distribution/policies.json source = firedragon-source-v12.8.1.tar.zst::https://gitlab.com/garuda-linux/firedragon/firedragon12/-/releases/v12.8.1/downloads/firedragon-source.tar.zst source = firedragon.psd::https://github.com/stefanwimmer128/profile-sync-daemon/raw/refs/heads/firedragon/contrib/firedragon + source = 0023-bgo-969412-glibc-2.43.patch sha256sums = 341d95b47107309cb1590ec16c0236035d23473d03deb4a9d3ef7e065da288c5 sha256sums = 61355930cc59813e7e610ffdab8a01e32be980fffe1dfd8f9654b8f8f9f7fdc0 + sha256sums = 25e8f2e706aa837f5b6e3c003a6c7f42b07f0a7366d10f9e0d5ad38053767aae source_x86_64 = deno-x86_64-v2.5.0.zip::https://github.com/denoland/deno/releases/download/v2.5.0/deno-x86_64-unknown-linux-gnu.zip sha256sums_x86_64 = 4561adb06b13f287a3785276cb29f377b7ffb49d54290178223b037e161446d3 source_aarch64 = deno-aarch64-v2.5.0.zip::https://github.com/denoland/deno/releases/download/v2.5.0/deno-aarch64-unknown-linux-gnu.zip diff --git a/0023-bgo-969412-glibc-2.43.patch b/0023-bgo-969412-glibc-2.43.patch new file mode 100644 index 0000000..58b57cb --- /dev/null +++ b/0023-bgo-969412-glibc-2.43.patch @@ -0,0 +1,40 @@ +diff -up firefox-146.0/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h.build-c11-threads-avail firefox-146.0/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h +--- firefox-146.0/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h.build-c11-threads-avail 2025-12-05 18:43:20.000000000 +0100 ++++ firefox-146.0/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h 2025-12-11 13:30:50.463371937 +0100 +@@ -66,7 +66,7 @@ typedef pthread_cond_t cnd_t; + typedef pthread_t thrd_t; + typedef pthread_key_t tss_t; + typedef pthread_mutex_t mtx_t; +-typedef pthread_once_t once_flag; ++//typedef pthread_once_t once_flag; + + + /* +@@ -90,12 +90,13 @@ impl_thrd_routine(void *p) + + /*--------------- 7.25.2 Initialization functions ---------------*/ + // 7.25.2.1 +-static inline void ++// ++/*static inline void + call_once(once_flag *flag, void (*func)(void)) + { + pthread_once(flag, func); + } +- ++*/ + + /*------------- 7.25.3 Condition variable functions -------------*/ + // 7.25.3.1 +diff -up a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h +--- a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h 2025-12-09 13:42:31.378958842 +0100 ++++ b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h 2025-12-09 13:42:37.886937626 +0100 +@@ -6,6 +6,7 @@ + #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_ + + #include ++#include + #include + + #include "build/build_config.h" + diff --git a/PKGBUILD b/PKGBUILD index bfb9bf1..eb4c0ea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -72,11 +72,13 @@ options=(!debug backup=("usr/lib/${pkgname}/${pkgname}.cfg" "usr/lib/${pkgname}/distribution/policies.json") source=(firedragon-source-v"$_pkgver".tar.zst::https://gitlab.com/garuda-linux/firedragon/firedragon12/-/releases/v"$_pkgver"/downloads/firedragon-source.tar.zst - firedragon.psd::https://github.com/stefanwimmer128/profile-sync-daemon/raw/refs/heads/firedragon/contrib/firedragon) + firedragon.psd::https://github.com/stefanwimmer128/profile-sync-daemon/raw/refs/heads/firedragon/contrib/firedragon + 0023-bgo-969412-glibc-2.43.patch) source_x86_64=(deno-x86_64-v$"$_deno_ver".zip::https://github.com/denoland/deno/releases/download/v"$_deno_ver"/deno-x86_64-unknown-linux-gnu.zip) source_aarch64=(deno-aarch64-v$"$_deno_ver".zip::https://github.com/denoland/deno/releases/download/v"$_deno_ver"/deno-aarch64-unknown-linux-gnu.zip) sha256sums=('341d95b47107309cb1590ec16c0236035d23473d03deb4a9d3ef7e065da288c5' - '61355930cc59813e7e610ffdab8a01e32be980fffe1dfd8f9654b8f8f9f7fdc0') + '61355930cc59813e7e610ffdab8a01e32be980fffe1dfd8f9654b8f8f9f7fdc0' + '25e8f2e706aa837f5b6e3c003a6c7f42b07f0a7366d10f9e0d5ad38053767aae') sha256sums_x86_64=('4561adb06b13f287a3785276cb29f377b7ffb49d54290178223b037e161446d3') sha256sums_aarch64=('81d2ef446954429f0dcbcb24cdce115e5bb2c3a3548b79c01b49ec959682ac9b') @@ -103,6 +105,9 @@ prepare() { cd firedragon-source-v"${_pkgver}" || exit + patch -Nsp1 -i "$srcdir"/0023-bgo-969412-glibc-2.43.patch + sed -i -e 's/\("files":{\)[^}]*/\1/' third_party/rust/glslopt/.cargo-checksum.json + _deno install --allow-scripts --frozen _target="$(_deno task build --get-target)"