Date: Tue, 6 Feb 2024 12:09:55 GMT 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: 267bcb9622cf - main - www/*chromium: unbreak build on i386 Message-ID: <202402061209.416C9t8t030216@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=267bcb9622cf491934dc84bd27bb983768a24ac7 commit 267bcb9622cf491934dc84bd27bb983768a24ac7 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2024-02-06 12:09:31 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2024-02-06 12:09:47 +0000 www/*chromium: unbreak build on i386 --- ...third__party_perfetto_src_trace__processor_db_column.h | 15 +++++++++++++++ ...third__party_perfetto_src_trace__processor_db_column.h | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/www/chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h b/www/chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h new file mode 100644 index 000000000000..1eac1a4617f9 --- /dev/null +++ b/www/chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h @@ -0,0 +1,15 @@ +--- third_party/perfetto/src/trace_processor/db/column.h.orig 2024-02-06 12:08:38 UTC ++++ third_party/perfetto/src/trace_processor/db/column.h +@@ -48,6 +48,12 @@ template <> + struct ColumnTypeHelper<int64_t> { + static constexpr ColumnType ToColumnType() { return ColumnType::kInt64; } + }; ++#if (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__i386__) ++template <> ++struct ColumnTypeHelper<long double> { ++ static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; } ++}; ++#endif + template <> + struct ColumnTypeHelper<double> { + static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; } diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h new file mode 100644 index 000000000000..1eac1a4617f9 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h @@ -0,0 +1,15 @@ +--- third_party/perfetto/src/trace_processor/db/column.h.orig 2024-02-06 12:08:38 UTC ++++ third_party/perfetto/src/trace_processor/db/column.h +@@ -48,6 +48,12 @@ template <> + struct ColumnTypeHelper<int64_t> { + static constexpr ColumnType ToColumnType() { return ColumnType::kInt64; } + }; ++#if (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__i386__) ++template <> ++struct ColumnTypeHelper<long double> { ++ static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; } ++}; ++#endif + template <> + struct ColumnTypeHelper<double> { + static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402061209.416C9t8t030216>