mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 06:28:06 +02:00
Patch configure.ac for clang 16. Update EAPI 7 -> 8. Closes: https://bugs.gentoo.org/900687 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
24 lines
793 B
Diff
24 lines
793 B
Diff
Bug: https://bugs.gentoo.org/900687
|
|
Upstream patch: https://sourceforge.net/p/avarice/patches/41/
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -97,7 +97,7 @@
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_STDC
|
|
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h])
|
|
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/stat.h sys/time.h termios.h unistd.h])
|
|
|
|
AC_CHECK_HEADERS([bfd.h], , [ac_found_bfd_h=no])
|
|
|
|
@@ -142,6 +142,9 @@
|
|
AC_MSG_CHECKING([whether libbfd requires libdl])
|
|
AC_LINK_IFELSE(
|
|
[AC_LANG_SOURCE([#include <bfd.h>
|
|
+ #ifndef bfd_get_section_name
|
|
+ extern bfd_get_section_name(bfd *abfd, const char *name);
|
|
+ #endif
|
|
bfd *file;
|
|
int main(void) {
|
|
bfd_init();
|