ports/devel/libdwarf/patches/patch-libdwarf_configure

23 lines
607 B
Text

Adjust configure tests to ensure HAVE_ELF64_RELA and HAVE_ELF64_SYM get
defined.
--- libdwarf/configure.orig Sat Oct 1 00:30:27 2016
+++ libdwarf/configure Mon Feb 6 14:04:20 2017
@@ -4246,7 +4246,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <elf.h>
+#include <libelf.h>
int
main ()
{
@@ -4263,7 +4263,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <elf.h>
+#include <libelf.h>
int
main ()
{