-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-add patches that was removed on the 21.1.5 update. PR: 257305
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Elf_ doesn't exist, use Elf32_ or Elf64_ | ||
# | ||
--- src/util/build_id.c.orig 2017-12-21 17:31:22 UTC | ||
+++ src/util/build_id.c | ||
@@ -38,6 +38,10 @@ | ||
#define ElfW(type) Elf_##type | ||
#endif | ||
|
||
+#if defined(__FreeBSD__) && __FreeBSD__ < 12 | ||
+typedef Elf_Note Elf_Nhdr; | ||
+#endif | ||
+ | ||
struct build_id_note { | ||
ElfW(Nhdr) nhdr; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters