Avoid potential negative array index access to cached text.
[LibreOffice.git] / external / libjpeg-turbo / UnpackedTarball_libjpeg-turbo.mk
blob5c88c8756c28f79e2afafe8be857d225fcafad42
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,libjpeg-turbo))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libjpeg-turbo,$(LIBJPEG_TURBO_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libjpeg-turbo,0))
16 $(eval $(call gb_UnpackedTarball_add_patches,libjpeg-turbo, \
17 external/libjpeg-turbo/include.patch \
20 # jconfigint.h and jconfig.h generated via
21 # cmake -DENABLE_STATIC:BOOL=ON -DENABLE_SHARED:BOOL=NO -DWITH_JAVA:BOOL=OFF -DWITH_TURBOJPEG:BOOL=OFF -DWITH_SIMD:BOOL=ON
22 # and then tweaking
24 $(eval $(call gb_UnpackedTarball_add_file,libjpeg-turbo,jconfigint.h,external/libjpeg-turbo/jconfigint.h))
25 $(eval $(call gb_UnpackedTarball_add_file,libjpeg-turbo,jconfig.h,external/libjpeg-turbo/jconfig.h))
26 $(eval $(call gb_UnpackedTarball_add_file,libjpeg-turbo,jversion.h,external/libjpeg-turbo/jversion.h))
28 # vim: set noet sw=4 ts=4: