diff options
Diffstat (limited to 'devel/electron13/files/patch-base_location__unittest.cc')
-rw-r--r-- | devel/electron13/files/patch-base_location__unittest.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-base_location__unittest.cc b/devel/electron13/files/patch-base_location__unittest.cc new file mode 100644 index 000000000000..8391d10368cd --- /dev/null +++ b/devel/electron13/files/patch-base_location__unittest.cc @@ -0,0 +1,11 @@ +--- base/location_unittest.cc.orig 2021-01-07 00:36:18 UTC ++++ base/location_unittest.cc +@@ -32,7 +32,7 @@ TEST(LocationTest, CurrentYieldsCorrectValue) { + EXPECT_EQ(here.line_number(), previous_line + 1); + EXPECT_STREQ("TestBody", here.function_name()); + #endif +-#elif defined(OFFICIAL_BUILD) ++#elif defined(OFFICIAL_BUILD) && !defined(OS_BSD) + #error Location builtins must be supported in official builds. + #elif BUILDFLAG(FROM_HERE_USES_LOCATION_BUILTINS) + #error FROM_HERE requires location builtins to be supported. |