blob: 1a9d08c9d938a91c482577e48b78c38ec234cbca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ui/gfx/x/gen_xproto.py.orig 2020-07-13 16:58:52 UTC
+++ ui/gfx/x/gen_xproto.py
@@ -1015,6 +1015,10 @@ def main():
'dist-packages')
sys.path.insert(1, path)
+ # Workaround to use the xcb-proto package, which installs using the default python version
+ # Remove this as soon as chromium builds with python3!
+ sys.path.append(os.path.join('..', '..', '..', 'site-packages'))
+
import xcbgen.xtypes
import xcbgen.state
|