1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

www/*chromium: unbreak build on i386

This commit is contained in:
Robert Nagy 2024-02-06 13:09:31 +01:00
parent 1fd1042f85
commit 267bcb9622
2 changed files with 30 additions and 0 deletions

View File

@ -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; }

View File

@ -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; }