[DragonFlyBSD - Bug #3130] (Closed) sys/elf.h: Elf_Nhdr undefined

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Apr 14 02:31:38 PDT 2018


Issue #3130 has been updated by swildner.

Status changed from New to Closed

Thanks, I've pushed it (http://lists.dragonflybsd.org/pipermail/commits/2018-April/672011.html)


----------------------------------------
Bug #3130: sys/elf.h: Elf_Nhdr undefined
http://bugs.dragonflybsd.org/issues/3130#change-13409

* Author: bserrao
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
This has been already patched on FreeBSD. (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225302)
Path: sys/sys/elf_common.h

<pre><code class="diff">

--- /home/bs/elf_common.h.orig  2018-04-13 17:21:06.557514000 +0100
+++ /home/bs/elf_common.h       2018-04-13 17:21:20.207529000 +0100
@@ -49,6 +49,7 @@
        u_int32_t       n_descsz;       /* Length of descriptor. */
        u_int32_t       n_type;         /* Type of this note. */
 } Elf_Note;
+typedef Elf_Note Elf_Nhdr;

 /* Indexes into the e_ident array.  Keep synced with
    http://www.sco.com/developers/gabi/latest/ch4.eheader.html */

</code></pre>





-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list