Bump version to 5.0-14
[LibreOffice.git] / external / libmariadb / UnpackedTarball_mariadb.mk
blobd03e2eeaecc90fc41c1b545e3da3accb60373894
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,mariadb))
12 $(eval $(call gb_UnpackedTarball_set_tarball,mariadb,$(MARIADB_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_add_file,mariadb,include/mysql_version.h,external/libmariadb/configs/mysql_version.h))
16 ifneq ($(OS),WNT)
17 ifeq ($(OS),MACOSX)
18 $(eval $(call gb_UnpackedTarball_add_file,mariadb,include/my_config.h,external/libmariadb/configs/mac_my_config.h))
19 else
20 $(eval $(call gb_UnpackedTarball_add_file,mariadb,include/my_config.h,external/libmariadb/configs/linux_my_config.h))
21 endif
22 endif # $(OS),WNT
24 $(eval $(call gb_UnpackedTarball_set_patchlevel,mariadb,1))
26 # libmariadb/mariadb-static-inline.patch upstream at
27 # <https://mariadb.atlassian.net/browse/CONC-18> "no external definition of
28 # non-static inline local_thr_alarm in libmariadb/net.c":
29 $(eval $(call gb_UnpackedTarball_add_patches,mariadb,\
30 external/libmariadb/mariadb-swap.patch \
31 $(if $(filter MSC,$(COM)),external/libmariadb/mariadb-msvc.patch.1) \
32 external/libmariadb/mariadb-inline.patch.1 \
33 external/libmariadb/mariadb-CONC-104.patch.1 \
36 # vim: set noet sw=4 ts=4: