Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/*chromium: unbreak build on i386
- Loading branch information
Robert Nagy
authored and
Robert Nagy
committed
Feb 6, 2024
1 parent
1fd1042
commit 267bcb9
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
www/chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } |
15 changes: 15 additions & 0 deletions
15
www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_db_column.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } |