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
,libstaroffice
))
12 $(eval
$(call gb_UnpackedTarball_set_tarball
,libstaroffice
,$(STAROFFICE_TARBALL
)))
14 $(eval
$(call gb_UnpackedTarball_set_patchlevel
,libstaroffice
,0))
16 ifeq ($(COM_IS_CLANG
),TRUE
)
17 ifneq ($(filter -fsanitize
=%,$(CC
)),)
18 $(eval
$(call gb_UnpackedTarball_add_patches
,libstaroffice
, \
19 external
/libstaroffice
/ubsan-visibility.patch \
26 $(eval
$(call gb_UnpackedTarball_add_patches
,libstaroffice
, \
27 external
/libstaroffice
/libstaroffice-bundled-soname.patch
.0 \
32 ifeq ($(SYSTEM_REVENGE
),)
33 $(eval
$(call gb_UnpackedTarball_add_patches
,libstaroffice
, \
34 external
/libstaroffice
/rpath.patch \
38 $(eval
$(call gb_UnpackedTarball_add_patches
,libstaroffice
, \
39 external
/libstaroffice
/0001-error-C2512-StarObject-no-appropriate-default-constr.patch
.1 \
40 external
/libstaroffice
/0001-ofz-1029-use-correct-loop-index.patch
.1 \
43 # vim: set noet sw=4 ts=4: