From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- external/curl/UnpackedTarball_curl.mk | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 external/curl/UnpackedTarball_curl.mk (limited to 'external/curl/UnpackedTarball_curl.mk') diff --git a/external/curl/UnpackedTarball_curl.mk b/external/curl/UnpackedTarball_curl.mk new file mode 100644 index 000000000..e78adabb8 --- /dev/null +++ b/external/curl/UnpackedTarball_curl.mk @@ -0,0 +1,48 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_UnpackedTarball_UnpackedTarball,curl)) + +$(eval $(call gb_UnpackedTarball_set_tarball,curl,$(CURL_TARBALL),,curl)) + +$(eval $(call gb_UnpackedTarball_update_autoconf_configs,curl)) + +$(eval $(call gb_UnpackedTarball_set_patchlevel,curl,1)) + +$(eval $(call gb_UnpackedTarball_fix_end_of_line,curl,\ + winbuild/MakefileBuild.vc \ +)) + +$(eval $(call gb_UnpackedTarball_add_patches,curl,\ + external/curl/curl-msvc.patch.1 \ + external/curl/curl-msvc-zlib.patch.1 \ + external/curl/curl-msvc-disable-protocols.patch.1 \ + external/curl/zlib.patch.0 \ + external/curl/configurable-z-option.patch.0 \ +)) + +ifeq ($(SYSTEM_NSS),) +$(eval $(call gb_UnpackedTarball_add_patches,curl,\ + external/curl/curl-nss.patch.1 \ +)) +endif + +ifeq ($(OS)-$(COM_IS_CLANG),WNT-TRUE) +$(eval $(call gb_UnpackedTarball_add_patches,curl, \ + external/curl/clang-cl.patch.0 \ +)) +endif + +ifneq ($(filter -fsanitize=%,$(CC)),) +$(eval $(call gb_UnpackedTarball_add_patches,curl, \ + external/curl/asan-poison-nsspem.patch.0 \ +)) +endif + +# vim: set noet sw=4 ts=4: -- cgit v1.2.3