Package: libbsd Version: 0.1.5-3 Severity: minor Tags: patch On m32r, there was a compile error of src/netlist.c: src/nlist.c: In function '__elf_is_okay__': src/nlist.c:234: error: 'ELF_TARG_DATA' undeclared (first use in this function) src/nlist.c:234: error: (Each undeclared identifier is reported only once src/nlist.c:234: error: for each function it appears in.)
Please rename ELF_DATA to ELF_TARG_DATA in order to fix the above build error for the m32r architecture. I also attach a patch to fix the error. Could you consider to apply it. Best Regards, --- libbsd-0.1.5/src/local-elf.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libbsd-0.1.5/src/local-elf.h b/libbsd-0.1.5/src/local-elf.h index 249e6ef..c4fd8d3 100644 --- a/libbsd-0.1.5/src/local-elf.h +++ b/libbsd-0.1.5/src/local-elf.h @@ -97,9 +97,9 @@ #define ELF_TARG_MACH EM_M32R #define ELF_TARG_CLASS ELFCLASS32 #if defined(__LITTLE_ENDIAN__) -#define ELF_DATA ELFDATA2LSB +#define ELF_TARG_DATA ELFDATA2LSB #elif defined(__BIG_ENDIAN__) -#define ELF_DATA ELFDATA2MSB +#define ELF_TARG_DATA ELFDATA2MSB #else #error Unknown M32R endianness #endif -- -- System Information: Debian Release: sid Architecture: m32r -- Hirokazu Takata <tak...@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org