diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch')
-rw-r--r-- | app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch b/app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch new file mode 100644 index 000000000000..b901796d8d6c --- /dev/null +++ b/app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/830325 +https://gitlab.freedesktop.org/realmd/adcli/-/merge_requests/47 + +From: Henning Schild <henning@hennsch.de> +Date: Tue, 11 Jan 2022 08:22:55 +0100 +Subject: [PATCH] library: include endian.h for le32toh + +upstream commit 938065a751c0876eb837a27f8c1443fc7d0d2551 + +linking against musl libc we need to include that specifically, actually +also according to "man 3 endian". +--- a/library/adutil.c ++++ b/library/adutil.c +@@ -29,6 +29,7 @@ + + #include <assert.h> + #include <ctype.h> ++#include <endian.h> + #include <errno.h> + #include <stdio.h> + #include <stdlib.h> |