diff options
Diffstat (limited to 'devel/electron29/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py')
-rw-r--r-- | devel/electron29/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py b/devel/electron29/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py new file mode 100644 index 000000000000..e9c8ef278ef8 --- /dev/null +++ b/devel/electron29/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py @@ -0,0 +1,11 @@ +--- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2023-03-30 00:34:17 UTC ++++ tools/json_schema_compiler/cpp_bundle_generator.py +@@ -149,7 +149,7 @@ class CppBundleGenerator(object): + # BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(IS_CHROMEOS_LACROS). + ifdefs.append('BUILDFLAG(IS_CHROMEOS_LACROS)') + elif platform == Platforms.LINUX: +- ifdefs.append('BUILDFLAG(IS_LINUX)') ++ ifdefs.append('BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)') + elif platform == Platforms.MAC: + ifdefs.append('BUILDFLAG(IS_MAC)') + elif platform == Platforms.WIN: |