From 115fa9ab95b0f69995cadb71fca4eee397b8c3df Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 17 Nov 2019 15:02:35 +0300 Subject: Add debian/patches/dyson-libctf-endian.patch --- debian/patches/dyson-libctf-endian.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/dyson-libctf-endian.patch diff --git a/debian/patches/dyson-libctf-endian.patch b/debian/patches/dyson-libctf-endian.patch new file mode 100644 index 0000000..a8cc1ea --- /dev/null +++ b/debian/patches/dyson-libctf-endian.patch @@ -0,0 +1,13 @@ +Index: binutils.git/libctf/ctf-endian.h +=================================================================== +--- binutils.git.orig/libctf/ctf-endian.h ++++ binutils.git/libctf/ctf-endian.h +@@ -32,6 +32,8 @@ + # define htole64(x) bswap_64 ((x)) + # define le64toh(x) bswap_64 ((x)) + #endif /* WORDS_BIGENDIAN */ ++#else ++# include + #endif /* !defined(HAVE_ENDIAN_H) */ + + #endif /* !defined(_CTF_ENDIAN_H) */ diff --git a/debian/patches/series b/debian/patches/series index 6b85d81..9c833d2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -39,3 +39,4 @@ dyson-biarch.patch dyson-pr14493-sol2.patch dyson-ld_altexec.patch dyson-pr12548-anonymous-version-tag.patch +dyson-libctf-endian.patch -- cgit v1.2.3