diff options
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 | 28 |
1 files changed, 28 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..246ccd990f12 --- /dev/null +++ b/app-crypt/adcli/files/adcli-0.9.1-library-include-endian.h-for-le32toh.patch @@ -0,0 +1,28 @@ +From dfbaa1b7f7cde281e23464ceb24699d4686651ab Mon Sep 17 00:00:00 2001 +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". +--- + library/adutil.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/library/adutil.c b/library/adutil.c +index 9b0c47f3b7e9..4bb06a3a7588 100644 +--- 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> +-- +2.34.1 + |