ports/devel/elfutils/files/patch-backends_x86__64__initreg.c
Conrad Meyer 552479055e Add elfutils 0.163
Elfutils is a collection of utilities, including: stack (to show
backtraces); nm (for listing symbols from object files); size (for
listing the section sizes of an object or archive file); strip (for
discarding symbols); readelf (to see the raw ELF file structures);
elflint (to check for well-formed ELF files); and elfcompress (to
compress or decompress ELF sections).

It also provides libraries to allow other programs to manipulate ELF and
DWARF data.

WWW:	https://fedorahosted.org/elfutils/

Reviewed by:	bdrewery
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D7206
2016-07-13 17:48:54 +00:00

10 lines
232 B
C

--- backends/x86_64_initreg.c.orig 2014-06-17 18:51:09 UTC
+++ backends/x86_64_initreg.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#ifdef __x86_64__
+# include <sys/types.h>
# include <sys/user.h>
# include <sys/ptrace.h>
#endif