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:
parent
1fd1042f85
commit
267bcb9622
@ -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; }
|
@ -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; }
|
Loading…
Reference in New Issue
Block a user