fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libmwaw / UnpackedTarball_libmwaw.mk
blob406af422c56d06f1e46f717a8a2179f45590fa8b
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,libmwaw))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libmwaw,$(MWAW_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,0))
16 ifeq ($(COM_GCC_IS_CLANG),TRUE)
17 ifneq ($(filter -fsanitize=%,$(CC)),)
18 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
19 external/libmwaw/ubsan-visibility.patch.0 \
21 endif
22 endif
24 ifneq ($(OS),MACOSX)
25 ifneq ($(OS),WNT)
26 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
27 external/libmwaw/libmwaw-bundled-soname.patch.0 \
29 endif
30 endif
32 ifeq ($(SYSTEM_REVENGE),)
33 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
34 external/libmwaw/rpath.patch \
36 endif
38 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
39 external/libmwaw/0001-if-ptr-to-member-var.-is-defined-ensure-the-class-is.patch.1 \
42 # vim: set noet sw=4 ts=4: