Version 24.8.3.2, tag libreoffice-24.8.3.2
[LibreOffice.git] / external / nss / UnpackedTarball_nss.mk
blob6b69dd9b1631e271d8c2d2539912a2cee3c4a1e2
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,nss))
12 $(eval $(call gb_UnpackedTarball_set_tarball,nss,$(NSS_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_update_autoconf_configs,nss,nspr/build/autoconf))
16 $(eval $(call gb_UnpackedTarball_add_patches,nss,\
17 external/nss/nss.patch \
18 external/nss/nss_macosx.patch \
19 external/nss/nss-win32-make.patch.1 \
20 external/nss/ubsan.patch.0 \
21 external/nss/clang-cl.patch.0 \
22 external/nss/nss.vs2015.patch \
23 external/nss/nss.vs2015.pdb.patch \
24 external/nss/nss.bzmozilla1238154.patch \
25 external/nss/nss-bz1646594.patch.1 \
26 external/nss/macos-dlopen.patch.0 \
27 external/nss/nss-restore-manual-pre-dependencies.patch.1 \
28 external/nss/Wincompatible-function-pointer-types.patch.0 \
29 $(if $(filter LINUX,$(OS)), \
30 external/nss/nss.getrandom.patch) \
31 $(if $(filter iOS,$(OS)), \
32 external/nss/nss-ios.patch) \
33 $(if $(filter ANDROID,$(OS)), \
34 external/nss/nss-android.patch.1) \
35 $(if $(filter MSC-INTEL,$(COM)-$(CPUNAME)), \
36 external/nss/nss.cygwin64.in32bit.patch) \
37 $(if $(filter WNT,$(OS)), \
38 external/nss/nss.windows.patch \
39 external/nss/nss.nowerror.patch \
40 external/nss/nss.utf8bom.patch.1) \
43 ifeq ($(COM_IS_CLANG),TRUE)
44 ifneq ($(filter -fsanitize=%,$(CC)),)
45 $(eval $(call gb_UnpackedTarball_add_patches,nss,\
46 external/nss/asan.patch.1 \
48 endif
49 endif
51 # vim: set noet sw=4 ts=4: