mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
add patches for glibc
This commit is contained in:
parent
af0d8a8207
commit
286e081bdc
4 changed files with 1965 additions and 0 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -61,9 +61,13 @@ pkgbase = floorp
|
|||
source = floorp-runtime-766fc44.tar.gz::https://github.com/Floorp-Projects/Floorp-Runtime/archive/766fc44b704f8cb9d480d19456dc58964752f35a.tar.gz
|
||||
source = floorp-projects.floorp-core::git+https://github.com/Floorp-Projects/Floorp-core.git
|
||||
source = floorp.desktop
|
||||
source = 0003-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
|
||||
source = 0004-Fix-sandbox-to-build-with-glibc-2.43.patch
|
||||
sha256sums = 8b00ea771e50ddc68c013c6f99cc9707907c2294bf99e73fc872c0eb740e9c8c
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = 8b38d000950cddd5fa0e1598540590af21f1aae1d30212fb11197c8526662604
|
||||
sha256sums = c2aaff2a743c738edbf02d7be816c30fe3a5acb2d3dcb7a3906357a9f2ed438f
|
||||
sha256sums = 8d2182ae8660474ac567482fe6658af77f3b402314e361c846528ae171586245
|
||||
|
||||
pkgname = floorp
|
||||
|
|
|
|||
1924
0003-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
Normal file
1924
0003-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
Normal file
File diff suppressed because it is too large
Load diff
21
0004-Fix-sandbox-to-build-with-glibc-2.43.patch
Normal file
21
0004-Fix-sandbox-to-build-with-glibc-2.43.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
||||
Date: Fri, 13 Feb 2026 04:33:11 +0100
|
||||
Subject: [PATCH] Fix sandbox to build with glibc 2.43
|
||||
|
||||
---
|
||||
.../chromium/sandbox/linux/system_headers/linux_seccomp.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
|
||||
index 8690a96eb01b..069ee5616709 100644
|
||||
--- a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
|
||||
+++ b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
|
||||
#define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
|
||||
|
||||
+#include <signal.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
16
PKGBUILD
16
PKGBUILD
|
|
@ -113,12 +113,16 @@ source=(
|
|||
"$_pkgname-runtime-${_runtime_commit::7}.$_pkgext"::"https://github.com/Floorp-Projects/Floorp-Runtime/archive/$_runtime_commit.$_pkgext"
|
||||
"floorp-projects.floorp-core"::"git+https://github.com/Floorp-Projects/Floorp-core.git"
|
||||
"$_pkgname.desktop"
|
||||
'0003-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch'
|
||||
'0004-Fix-sandbox-to-build-with-glibc-2.43.patch'
|
||||
)
|
||||
sha256sums=(
|
||||
'8b00ea771e50ddc68c013c6f99cc9707907c2294bf99e73fc872c0eb740e9c8c'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'8b38d000950cddd5fa0e1598540590af21f1aae1d30212fb11197c8526662604'
|
||||
'c2aaff2a743c738edbf02d7be816c30fe3a5acb2d3dcb7a3906357a9f2ed438f'
|
||||
'8d2182ae8660474ac567482fe6658af77f3b402314e361c846528ae171586245'
|
||||
)
|
||||
|
||||
_deno() {
|
||||
|
|
@ -254,6 +258,18 @@ END
|
|||
else
|
||||
printf '\nFree RAM: %s\nCores: %s\nUsing: auto\n\n' "$((_mem / (1024 * 1024)))" "$_nproc"
|
||||
fi
|
||||
|
||||
# apply patches
|
||||
local src
|
||||
for src in "${source[@]}"; do
|
||||
src="${src%%::*}"
|
||||
src="${src##*/}"
|
||||
src="${src%.zst}"
|
||||
if [[ $src == *.patch ]]; then
|
||||
printf '\nApplying patch: %s\n' "$src"
|
||||
patch -d "$_pkgsrc_runtime" -Np1 -F100 -f -i "${srcdir:?}/$src"
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
build() (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue