fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libodfgen / UnpackedTarball_libodfgen.mk
blob1c002c8aa9e72dd2d695f938774b574d7bcee632
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,libodfgen))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libodfgen,$(ODFGEN_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libodfgen,0))
16 ifeq ($(COM_GCC_IS_CLANG),TRUE)
17 ifneq ($(filter -fsanitize=%,$(CC)),)
18 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
19 external/libodfgen/ubsan-visibility.patch \
21 endif
22 endif
24 ifeq ($(SYSTEM_REVENGE),)
25 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
26 external/libodfgen/rpath.patch \
28 endif
30 ifneq ($(OS),MACOSX)
31 ifneq ($(OS),WNT)
32 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
33 external/libodfgen/libodfgen-bundled-soname.patch.0 \
35 endif
36 endif
39 # vim: set noet sw=4 ts=4: