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 | |
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')
-rw-r--r-- | devel/libelf/DESCR | 1 | ||||
-rw-r--r-- | devel/libelf/Makefile | 16 | ||||
-rw-r--r-- | devel/libelf/PLIST | 7 | ||||
-rw-r--r-- | devel/libelf/distinfo | 5 | ||||
-rw-r--r-- | devel/libelf/patches/patch-aa | 26 |
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/libelf/DESCR b/devel/libelf/DESCR new file mode 100644 index 00000000000..1ac0fabd56b --- /dev/null +++ b/devel/libelf/DESCR @@ -0,0 +1 @@ +Libelf - ELF object file access library. diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile new file mode 100644 index 00000000000..f52156e204c --- /dev/null +++ b/devel/libelf/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/04 11:27:59 recht Exp $ +# + +DISTNAME= libelf-0.8.5 +CATEGORIES= devel +MASTER_SITES= http://www.stud.uni-hannover.de/~michael/software/ + +MAINTAINER= petrov@NetBSD.org +HOMEPAGE= http://www.stud.uni-hannover.de/~michael/software/ +COMMENT= ELF object file access library + +USE_BUILDLINK2= yes +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libelf/PLIST b/devel/libelf/PLIST new file mode 100644 index 00000000000..5ce448577d6 --- /dev/null +++ b/devel/libelf/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/04 11:27:59 recht Exp $ +lib/libelf.a +include/libelf/libelf.h +include/libelf/nlist.h +include/libelf/gelf.h +include/libelf/sys_elf.h +include/libelf/elf_repl.h diff --git a/devel/libelf/distinfo b/devel/libelf/distinfo new file mode 100644 index 00000000000..29c95432612 --- /dev/null +++ b/devel/libelf/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/04 11:28:00 recht Exp $ + +SHA1 (libelf-0.8.5.tar.gz) = 57bb3aa7d89c5ae902a27893e16d1222fdb1140f +Size (libelf-0.8.5.tar.gz) = 132111 bytes +SHA1 (patch-aa) = bb70182806c0541e46af884e324d6ae2b8831665 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) |