mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
qt6-webengine: fix resolver on glibc
This commit is contained in:
parent
ea22fa0937
commit
a2b861ab13
4 changed files with 3 additions and 13 deletions
|
@ -45,7 +45,7 @@ index 2743697bf..36dc8adbf 100644
|
|||
|
||||
ScopedResState::ScopedResState() {
|
||||
-#if BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_FUCHSIA)
|
||||
+#if BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_FUCHSIA) || defined(_GNU_SOURCE)
|
||||
+#if BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_FUCHSIA) || (BUILDFLAG(IS_LINUX) && !defined(__GLIBC__))
|
||||
// Note: res_ninit in glibc always returns 0 and sets RES_INIT.
|
||||
// res_init behaves the same way.
|
||||
memset(&_res, 0, sizeof(_res));
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- qt6-webengine-6.4.2.orig/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
||||
+++ qt6-webengine-6.4.2/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
||||
@@ -418,6 +418,7 @@ bool SyscallSets::IsAllowedProcessStartO
|
||||
switch (sysno) {
|
||||
case __NR_exit:
|
||||
case __NR_exit_group:
|
||||
+ case __NR_membarrier:
|
||||
case __NR_wait4:
|
||||
case __NR_waitid:
|
||||
#if defined(__i386__)
|
|
@ -7,7 +7,7 @@ musl uses them for pthread_getschedparam()
|
|||
case __NR_pwrite64:
|
||||
case __NR_sched_get_priority_max:
|
||||
case __NR_sched_get_priority_min:
|
||||
+#ifdef __GLIBC__
|
||||
+#ifndef __GLIBC__
|
||||
+ case __NR_sched_getparam:
|
||||
+ case __NR_sched_getscheduler:
|
||||
+ case __NR_sched_setscheduler:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'qt6-webengine'
|
||||
pkgname=qt6-webengine
|
||||
version=6.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
-DQT_FEATURE_webengine_system_ffmpeg=ON
|
||||
|
|
Loading…
Add table
Reference in a new issue