diff options
-rw-r--r-- | debian/patches/dyson-libctf-endian.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 14 insertions, 0 deletions
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 <endian.h> + #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 |