diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch')
-rw-r--r-- | meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch new file mode 100644 index 0000000000..0cefbedd6d --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch @@ -0,0 +1,28 @@ +From 6b8547161b902b01b639d05a4cdf849d7694556f Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <alex.kanavin@gmail.com> +Date: Fri, 22 May 2020 15:29:23 +0000 +Subject: [PATCH] apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h + +This avoids type errors with musl C library. + +Upstream-Status: Submitted [https://salsa.debian.org/apt-team/apt/-/merge_requests/200] +Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> +--- + apt-pkg/contrib/srvrec.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h +index e5d0f43..2010184 100644 +--- a/apt-pkg/contrib/srvrec.h ++++ b/apt-pkg/contrib/srvrec.h +@@ -9,6 +9,7 @@ + #ifndef SRVREC_H + #define SRVREC_H + ++#include <sys/types.h> + #include <string> + #include <vector> + #include <arpa/nameser.h> +-- +2.20.1 + |