Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2026 10:07:16 +0000
From:      Robert Nagy <rnagy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5528b8f868d2 - main - www/{*chromium,iridium}: unbreak on arm64
Message-ID:  <696e0254.25cc2.70f5150c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5528b8f868d2d12dd23444f9fb888134f5b5abec

commit 5528b8f868d2d12dd23444f9fb888134f5b5abec
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2026-01-19 10:07:02 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2026-01-19 10:07:02 +0000

    www/{*chromium,iridium}: unbreak on arm64
---
 ...onfig_linux_arm64-cpu-detect_config_av1__rtcd.h | 33 ++++++++++++++++++++++
 ...ch-third__party_libunwind_src_src_Registers.hpp | 11 ++++++++
 ...onfig_linux_arm64-cpu-detect_config_av1__rtcd.h | 33 ++++++++++++++++++++++
 ...ch-third__party_libunwind_src_src_Registers.hpp | 11 ++++++++
 ...onfig_linux_arm64-cpu-detect_config_av1__rtcd.h | 33 ++++++++++++++++++++++
 ...ch-third__party_libunwind_src_src_Registers.hpp | 11 ++++++++
 6 files changed, 132 insertions(+)

diff --git a/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h b/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
new file mode 100644
index 000000000000..fec13f58f4b6
--- /dev/null
+++ b/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
@@ -0,0 +1,33 @@
+--- third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h.orig	2026-01-19 10:05:45 UTC
++++ third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h
+@@ -198,8 +198,6 @@ RTCD_EXTERN void (*av1_dist_wtd_convolve_x)(const uint
+ 
+ void av1_dist_wtd_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ void av1_dist_wtd_convolve_y_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_dotprod(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_i8mm(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ RTCD_EXTERN void (*av1_dist_wtd_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ 
+ void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
+@@ -285,9 +283,9 @@ void av1_fwht4x4_c(const int16_t *input, tran_low_t *o
+ void av1_fwht4x4_neon(const int16_t *input, tran_low_t *output, int stride);
+ #define av1_fwht4x4 av1_fwht4x4_neon
+ 
+-uint32_t av1_get_crc32c_value_c(void *crc_calculator, const uint8_t *p, size_t length);
+-uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, const uint8_t *p, size_t length);
+-RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, const uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_c(void *crc_calculator, uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, uint8_t *p, size_t length);
++RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, uint8_t *p, size_t length);
+ 
+ void av1_get_horver_correlation_full_c(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+ void av1_get_horver_correlation_full_neon(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+@@ -534,8 +532,6 @@ static void setup_rtcd_internal(void)
+     if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_dotprod;
+     if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_i8mm;
+     av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon;
+-    if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_dotprod;
+-    if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_i8mm;
+     av1_get_crc32c_value = av1_get_crc32c_value_c;
+     if (flags & HAS_ARM_CRC32) av1_get_crc32c_value = av1_get_crc32c_value_arm_crc32;
+     av1_resize_and_extend_frame = av1_resize_and_extend_frame_neon;
diff --git a/www/chromium/files/patch-third__party_libunwind_src_src_Registers.hpp b/www/chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
new file mode 100644
index 000000000000..1b0dcc4eec56
--- /dev/null
+++ b/www/chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
@@ -0,0 +1,11 @@
+--- third_party/libunwind/src/src/Registers.hpp.orig	2026-01-19 10:05:45 UTC
++++ third_party/libunwind/src/src/Registers.hpp
+@@ -20,7 +20,7 @@
+ #include "libunwind_ext.h"
+ #include "shadow_stack_unwind.h"
+ 
+-#if __has_include(<sys/auxv.h>)
++#if __has_include(<sys/auxv.h>) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ #include <sys/auxv.h>
+ #define HAVE_SYS_AUXV_H
+ #endif
diff --git a/www/iridium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h b/www/iridium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
new file mode 100644
index 000000000000..fec13f58f4b6
--- /dev/null
+++ b/www/iridium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
@@ -0,0 +1,33 @@
+--- third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h.orig	2026-01-19 10:05:45 UTC
++++ third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h
+@@ -198,8 +198,6 @@ RTCD_EXTERN void (*av1_dist_wtd_convolve_x)(const uint
+ 
+ void av1_dist_wtd_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ void av1_dist_wtd_convolve_y_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_dotprod(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_i8mm(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ RTCD_EXTERN void (*av1_dist_wtd_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ 
+ void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
+@@ -285,9 +283,9 @@ void av1_fwht4x4_c(const int16_t *input, tran_low_t *o
+ void av1_fwht4x4_neon(const int16_t *input, tran_low_t *output, int stride);
+ #define av1_fwht4x4 av1_fwht4x4_neon
+ 
+-uint32_t av1_get_crc32c_value_c(void *crc_calculator, const uint8_t *p, size_t length);
+-uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, const uint8_t *p, size_t length);
+-RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, const uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_c(void *crc_calculator, uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, uint8_t *p, size_t length);
++RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, uint8_t *p, size_t length);
+ 
+ void av1_get_horver_correlation_full_c(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+ void av1_get_horver_correlation_full_neon(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+@@ -534,8 +532,6 @@ static void setup_rtcd_internal(void)
+     if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_dotprod;
+     if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_i8mm;
+     av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon;
+-    if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_dotprod;
+-    if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_i8mm;
+     av1_get_crc32c_value = av1_get_crc32c_value_c;
+     if (flags & HAS_ARM_CRC32) av1_get_crc32c_value = av1_get_crc32c_value_arm_crc32;
+     av1_resize_and_extend_frame = av1_resize_and_extend_frame_neon;
diff --git a/www/iridium/files/patch-third__party_libunwind_src_src_Registers.hpp b/www/iridium/files/patch-third__party_libunwind_src_src_Registers.hpp
new file mode 100644
index 000000000000..1b0dcc4eec56
--- /dev/null
+++ b/www/iridium/files/patch-third__party_libunwind_src_src_Registers.hpp
@@ -0,0 +1,11 @@
+--- third_party/libunwind/src/src/Registers.hpp.orig	2026-01-19 10:05:45 UTC
++++ third_party/libunwind/src/src/Registers.hpp
+@@ -20,7 +20,7 @@
+ #include "libunwind_ext.h"
+ #include "shadow_stack_unwind.h"
+ 
+-#if __has_include(<sys/auxv.h>)
++#if __has_include(<sys/auxv.h>) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ #include <sys/auxv.h>
+ #define HAVE_SYS_AUXV_H
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h b/www/ungoogled-chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
new file mode 100644
index 000000000000..fec13f58f4b6
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
@@ -0,0 +1,33 @@
+--- third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h.orig	2026-01-19 10:05:45 UTC
++++ third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h
+@@ -198,8 +198,6 @@ RTCD_EXTERN void (*av1_dist_wtd_convolve_x)(const uint
+ 
+ void av1_dist_wtd_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ void av1_dist_wtd_convolve_y_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_dotprod(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+-void av1_dist_wtd_convolve_y_neon_i8mm(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ RTCD_EXTERN void (*av1_dist_wtd_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params);
+ 
+ void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
+@@ -285,9 +283,9 @@ void av1_fwht4x4_c(const int16_t *input, tran_low_t *o
+ void av1_fwht4x4_neon(const int16_t *input, tran_low_t *output, int stride);
+ #define av1_fwht4x4 av1_fwht4x4_neon
+ 
+-uint32_t av1_get_crc32c_value_c(void *crc_calculator, const uint8_t *p, size_t length);
+-uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, const uint8_t *p, size_t length);
+-RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, const uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_c(void *crc_calculator, uint8_t *p, size_t length);
++uint32_t av1_get_crc32c_value_arm_crc32(void *crc_calculator, uint8_t *p, size_t length);
++RTCD_EXTERN uint32_t (*av1_get_crc32c_value)(void *crc_calculator, uint8_t *p, size_t length);
+ 
+ void av1_get_horver_correlation_full_c(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+ void av1_get_horver_correlation_full_neon(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+@@ -534,8 +532,6 @@ static void setup_rtcd_internal(void)
+     if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_dotprod;
+     if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_i8mm;
+     av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon;
+-    if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_dotprod;
+-    if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_i8mm;
+     av1_get_crc32c_value = av1_get_crc32c_value_c;
+     if (flags & HAS_ARM_CRC32) av1_get_crc32c_value = av1_get_crc32c_value_arm_crc32;
+     av1_resize_and_extend_frame = av1_resize_and_extend_frame_neon;
diff --git a/www/ungoogled-chromium/files/patch-third__party_libunwind_src_src_Registers.hpp b/www/ungoogled-chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
new file mode 100644
index 000000000000..1b0dcc4eec56
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
@@ -0,0 +1,11 @@
+--- third_party/libunwind/src/src/Registers.hpp.orig	2026-01-19 10:05:45 UTC
++++ third_party/libunwind/src/src/Registers.hpp
+@@ -20,7 +20,7 @@
+ #include "libunwind_ext.h"
+ #include "shadow_stack_unwind.h"
+ 
+-#if __has_include(<sys/auxv.h>)
++#if __has_include(<sys/auxv.h>) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ #include <sys/auxv.h>
+ #define HAVE_SYS_AUXV_H
+ #endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696e0254.25cc2.70f5150c>