aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-tools_grit_grit_node_base.py
blob: 0e9e99eb206bb519d1c67cbeabcc510fd9e38b55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- tools/grit/grit/node/base.py.orig	2024-02-21 00:21:14 UTC
+++ tools/grit/grit/node/base.py
@@ -498,7 +498,8 @@ class Node:
         value = defs
 
       elif name == 'is_linux':
-        value = target_platform == 'linux'
+        value = (target_platform == 'linux'
+                 or 'bsd' in target_platform)
       elif name == 'is_chromeos':
         value = target_platform == 'chromeos'
       elif name == 'is_macosx':