summaryrefslogtreecommitdiff
path: root/devel/elfutils/files/patch-libelf_elf.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2016-07-14 18:45:54 +0000
committerConrad Meyer <cem@FreeBSD.org>2016-07-14 18:45:54 +0000
commit718a7c599f321669803ffa7d58eaae751e56be1e (patch)
treef5dae1b0db0f5be1eb401f3a29871e1b148c9e65 /devel/elfutils/files/patch-libelf_elf.h
parentastro/qmapshack: Update version 1.6.1=>1.6.3 (diff)
elfutils-0.163_4
- Correct gnulib dependency to PATCH_DEPENDS, per Bapt. - Rely on USE_AUTOTOOLS :env to pull in automake for BUILD. - Move re-automake rule to pre-configure, when the tool is available. - Adapt installed gelf.h header to define needed non-standard Elf types as needed, rather than trying to add them to base elf headers. Reviewed by: portlint Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=418553
Diffstat (limited to 'devel/elfutils/files/patch-libelf_elf.h')
-rw-r--r--devel/elfutils/files/patch-libelf_elf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/elfutils/files/patch-libelf_elf.h b/devel/elfutils/files/patch-libelf_elf.h
new file mode 100644
index 000000000000..4e6558aaea5e
--- /dev/null
+++ b/devel/elfutils/files/patch-libelf_elf.h
@@ -0,0 +1,18 @@
+--- libelf/elf.h.orig 2015-06-10 19:44:33 UTC
++++ libelf/elf.h
+@@ -54,6 +54,7 @@ typedef uint64_t Elf64_Off;
+ /* Type for section indices, which are 16-bit quantities. */
+ typedef uint16_t Elf32_Section;
+ typedef uint16_t Elf64_Section;
++#define LIBELF_ELF_SECTION_DEFINED 1
+
+ /* Type for version symbol information. */
+ typedef Elf32_Half Elf32_Versym;
+@@ -972,6 +973,7 @@ typedef struct
+ on 64-bit platforms and vice versa. */
+ } a_un;
+ } Elf64_auxv_t;
++#define LIBELF_ELF_AUXV_T_DEFINED 1
+
+ /* Legal values for a_type (entry type). */
+