Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / libmwaw / UnpackedTarball_libmwaw.mk
blob949de706d91e549d341d87c88a799490531275bb
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_IS_CLANG),TRUE)
17 ifneq ($(filter -fsanitize=%,$(CC)),)
18 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
19 external/libmwaw/ubsan-visibility.patch \
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-fix-build-with-MSVC.patch.1 \
40 external/libmwaw/libmwaw-fix-compare-assert.patch.1 \
41 external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.1 \
44 # vim: set noet sw=4 ts=4: