build fix
[LibreOffice.git] / external / libfreehand / UnpackedTarball_libfreehand.mk
blob7394b98fe8ae2ce84e1b0265735e0b39e3c8f2e8
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,libfreehand))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libfreehand,$(FREEHAND_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libfreehand,0))
16 # Was already fixed upstream: d9b10697f3984e51d3870e049b99488d94ee735e
17 $(eval $(call gb_UnpackedTarball_add_patches,libfreehand,\
18 external/libfreehand/replace_transform_class_with_struct.patch \
21 ifeq ($(COM_IS_CLANG),TRUE)
22 ifneq ($(filter -fsanitize=%,$(CC)),)
23 $(eval $(call gb_UnpackedTarball_add_patches,libfreehand, \
24 external/libfreehand/ubsan-visibility.patch \
26 endif
27 endif
29 # vim: set noet sw=4 ts=4: