qgroundcontrol: 4.4.2 -> 4.4.3 (#360956)
[NixPkgs.git] / pkgs / by-name / cc / cctools / 0002-Rely-on-libcd_is_blob_a_linker_signature.patch
blob014281039ae87d6467feb87bbac21709596a394c
1 From 419c469634891d09f6688d56da9e26431018f342 Mon Sep 17 00:00:00 2001
2 From: Randy Eckenrode <randy@largeandhighquality.com>
3 Date: Wed, 10 Apr 2024 20:36:53 -0400
4 Subject: [PATCH 2/6] Rely on libcd_is_blob_a_linker_signature
6 ---
7 libstuff/code_directory.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/libstuff/code_directory.c b/libstuff/code_directory.c
11 index 7c158fa..3b8eb77 100644
12 --- a/libstuff/code_directory.c
13 +++ b/libstuff/code_directory.c
14 @@ -146,7 +146,7 @@ static const char* format_version_xyz(uint32_t version)
16 int codedir_is_linker_signed(const char* data, uint32_t size)
18 -#if 1
19 +#if 0
20 // HACK: libcodedirectory.h is in both the macOS SDK in /usr/local/include, and in the tool chain at /usr/include.
21 // but there is no way to control clang's search path to look in the toolchain first.
22 // So, declare newer API locally. Once this new header is in all SDKs we can remove this.
23 --
24 2.45.2