Update cad/zcad to version 0.9.8.4_1
[dports.git] / lang / rust / files / patch-src_bootstrap_bootstrap.py
1 --- src/bootstrap/bootstrap.py.orig     2019-01-16 09:30:27 UTC
2 +++ src/bootstrap/bootstrap.py
3 @@ -269,6 +273,10 @@ def default_build_triple():
4          cputype = 'arm'
5          if ostype == 'linux-android':
6              ostype = 'linux-androideabi'
7 +        elif ostype == 'unknown-freebsd':
8 +            cputype = subprocess.check_output(
9 +                ['uname', '-p']).strip().decode(default_encoding)
10 +            ostype = 'unknown-freebsd'
11      elif cputype == 'armv6l':
12          cputype = 'arm'
13          if ostype == 'linux-android':