diff options
author | recht <recht@pkgsrc.org> | 2004-03-04 11:27:59 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-03-04 11:27:59 +0000 |
commit | 54af88a005d643ef2a467b773fc3a8067dbf78c9 (patch) | |
tree | c92c92fef062ffe2c29ad895f7bc1458ba0ec5e2 /devel/libelf/patches | |
parent | 340ff066b7fbc5f4f1304bc776c705a87b36b509 (diff) | |
download | pkgsrc-54af88a005d643ef2a467b773fc3a8067dbf78c9.tar.gz |
initial import of libelf-0.8.5
provided by Andrey Petrov in PR 24658
Libelf - ELF object file access library.
Diffstat (limited to 'devel/libelf/patches')
-rw-r--r-- | devel/libelf/patches/patch-aa | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/libelf/patches/patch-aa b/devel/libelf/patches/patch-aa new file mode 100644 index 00000000000..00af7e40ab8 --- /dev/null +++ b/devel/libelf/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/04 11:28:00 recht Exp $ + +--- lib/sys_elf.h.in.orig 2004-02-26 15:02:52.000000000 -0800 ++++ lib/sys_elf.h.in 2004-02-24 17:12:43.000000000 -0800 +@@ -85,6 +85,10 @@ + # define ELF32_FSZ_WORD 4 + # endif /* ELF32_FSZ_ADDR */ + ++# ifndef EI_NIDENT ++# define EI_NIDENT ELF_NIDENT ++# endif /* EI_NIDENT */ ++ + # ifndef STN_UNDEF + # define STN_UNDEF 0 + # endif /* STN_UNDEF */ +@@ -101,6 +105,10 @@ + # define ELF64_FSZ_XWORD 8 + # endif /* ELF64_FSZ_ADDR */ + ++# ifndef ELF64_FSZ_SXWORD ++# define ELF64_FSZ_SXWORD 8 ++# endif ++ + # ifndef ELF64_ST_BIND + # define ELF64_ST_BIND(i) ((i)>>4) + # define ELF64_ST_TYPE(i) ((i)&0xf) |