fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-3.3.0-clang.patch.1
blob9001110fbed442cf4c73a004d633cc7033adaa64
1 -*- Mode: diff -*-
3 --- python3/setup.py
4 +++ python3/setup.py
5 @@ -436,7 +436,7 @@
6              if ret >> 8 == 0:
7                  with open(tmpfile) as fp:
8                      for line in fp.readlines():
9 -                        if line.startswith("gcc version"):
10 +                        if line.startswith("gcc version") or line.startswith("clang -cc1 version"):
11                              is_gcc = True
12                          elif line.startswith("#include <...>"):
13                              in_incdirs = True