Avoid potential negative array index access to cached text.
[LibreOffice.git] / external / poppler / UnpackedTarball_poppler.mk
blobc6ddbf9785d379eb0fa0e8e1d12242fe7e9f3eb2
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,poppler))
12 $(eval $(call gb_UnpackedTarball_set_tarball,poppler,$(POPPLER_TARBALL),,poppler))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,poppler,0))
16 $(eval $(call gb_UnpackedTarball_add_patches,poppler,\
17 external/poppler/char_traits.patch \
18 external/poppler/disable-freetype.patch.1 \
19 external/poppler/disable-nss-and-gpgmepp.patch.1 \
20 external/poppler/poppler-config.patch.1 \
21 external/poppler/pch.patch.0 \
24 ifneq ($(filter -fsanitize=%,$(CC)),)
25 $(eval $(call gb_UnpackedTarball_add_patches,poppler, \
26 external/poppler/sanitizer.patch \
28 endif
30 # vim: set noet sw=4 ts=4: