diff --git a/srcpkgs/electron13/files/musl-patches/chromium-musl-xxx-ppc64le.patch b/srcpkgs/electron13/files/musl-patches/chromium-musl-xxx-ppc64le.patch index 9001a2a854..bfa99d88a9 100644 --- a/srcpkgs/electron13/files/musl-patches/chromium-musl-xxx-ppc64le.patch +++ b/srcpkgs/electron13/files/musl-patches/chromium-musl-xxx-ppc64le.patch @@ -1,3 +1,15 @@ +--- base/allocator/partition_allocator/partition_alloc_config.h 2021-05-25 00:05:31.000000000 +0200 ++++ - 2021-05-26 22:23:47.172940826 +0200 +@@ -71,7 +71,8 @@ + // REF_COUNT_AT_END_OF_ALLOCATION does. In this case the refcount overlaps with + // the next pointer shadow for the smallest bucket. + #if !(defined(OS_MAC) && defined(ARCH_CPU_ARM64)) && \ +- !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION) ++ !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION) && \ ++ !defined(__powerpc64__) + #define PA_HAS_FREELIST_HARDENING + #endif + diff --git sandbox/linux/bpf_dsl/seccomp_macros.h sandbox/linux/bpf_dsl/seccomp_macros.h index a6aec544e..2a4a7f1bc 100644 --- sandbox/linux/bpf_dsl/seccomp_macros.h diff --git a/srcpkgs/electron13/template b/srcpkgs/electron13/template index 4cb13d333b..7c4efbd6e7 100644 --- a/srcpkgs/electron13/template +++ b/srcpkgs/electron13/template @@ -299,6 +299,12 @@ do_configure() { else conf+=('symbol_level=0') fi + + # this does not work on ppc64 yet + case "$XBPS_TARGET_MACHINE" in + ppc64*) conf+=( "enable_jxl_decoder=false" );; + esac + conf+=( 'enable_hangout_services_extension=true' 'enable_nacl_nonsfi=false'