fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / librevenge / UnpackedTarball_librevenge.mk
blob192faf4a50443256959f9c812c51a32bd0d57efe
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,librevenge))
12 $(eval $(call gb_UnpackedTarball_set_tarball,librevenge,$(REVENGE_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,librevenge,0))
16 ifeq ($(COM_GCC_IS_CLANG),TRUE)
17 ifneq ($(filter -fsanitize=%,$(CC)),)
18 $(eval $(call gb_UnpackedTarball_add_patches,librevenge, \
19 external/librevenge/ubsan-visibility.patch \
21 endif
22 endif
24 ifneq ($(OS),MACOSX)
25 ifneq ($(OS),WNT)
26 $(eval $(call gb_UnpackedTarball_add_patches,librevenge, \
27 external/librevenge/librevenge-bundled-soname.patch.0 \
29 endif
30 endif
32 # vim: set noet sw=4 ts=4: