diff options
author | schmonz <schmonz> | 2003-06-08 23:00:26 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2003-06-08 23:00:26 +0000 |
commit | 073152102baf1e5c8cd05b1c65ae538533cc573f (patch) | |
tree | 6097c906a439d8a719da3fc7c5d0ac5029d6486a | |
parent | be3bc3df4cb230fa9465ab6bd14f07d86948f4e0 (diff) | |
download | pkgsrc-073152102baf1e5c8cd05b1c65ae538533cc573f.tar.gz |
Update to dlcompat-20030522. Changes:
* dlfcn.c, spec_notes.txt, dladdr.3, Makefile.in, dlopen.3.in:
reformat ascii diagram, cleanup, avoid a deadlock if _init or _fini
routines attempt to call dl* functions, just exits the app right
now. Update the manpages. Finally made the decision to keep dlfunc
out until I see a port which needs it, or it becomes part of the
spec. Removed RTLD_SELF for similar reasons.
* dlfcn.c, spec_notes.txt: small changes to dlfcn.c, added some
notes about spec compliance.
* dlfcn.c, dlfcn.h: Readded dlfunc, implemented RTLD_NEXT, RTLD_SELF
and RTLD_DEFAULT for dlsym. Compiles against the freebsd 5.0 header,
but I can't grab that because it would break binary compat, reran
indent to fix problems with my use of a multitude of editors (if
only they would stop crashing).
* Makefile.in,configure.in,README,dlfcn.c,dlfnc.h,dlfcn_simple.c,dlopen.3.in:
dlopen.3 should is generated by the makefile, not configure,
dlfcn_simple.c some rewrite of the error code, preparation for
release, remove the dlfunc I added on the 20th, I need to convince
myself that it is worthwhile.
* dlfcn.c, dlfcn.h: dynamically allocate space for all needed paths,
add dlfunc, use the restric keyword for gcc >3, fix dladdr for
MH_SPLIT_SEGS, use our own NSAddImage for the search linked libs
case, as NSAddImage is stupid, and does not search DYLD_LIBRARY_PATH
or match install_names. Use NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES
for ppc in dlclose, and NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED
if the object has any __mod_term_func's to avoid the bus error in
atexit(3) with c++ static destructors.
* dlfcn.c: reset the error string when an exported function is
called. Do not write off the end of the search_paths array, increase
MAX_SEARCH_PATHS to 128. This needs to be looked at again, the
search paths array should be allocated dynamically so all the paths
can be included.
* dlfcn.c: Patch from Ben Hines for better error reporting in
dlclose a non bundle.
* dlfcn.c: Checking some code that has been sitting here for months.
thread safe, removed crap code for c++ static initializer calling.
Need to add something back later.
* dlfcn_simple.c: Cleanup.
* dlfcn.c: Quick hack to get sound working in artsd.
-rw-r--r-- | devel/dlcompat/Makefile | 4 | ||||
-rw-r--r-- | devel/dlcompat/distinfo | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/dlcompat/Makefile b/devel/dlcompat/Makefile index 19180a22859..38691f8ef6a 100644 --- a/devel/dlcompat/Makefile +++ b/devel/dlcompat/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2002/12/22 19:04:07 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2003/06/08 23:00:26 schmonz Exp $ # -DISTNAME= dlcompat-20021117 +DISTNAME= dlcompat-20030522 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fink/} diff --git a/devel/dlcompat/distinfo b/devel/dlcompat/distinfo index 2e6f6172b1b..cc37c897d22 100644 --- a/devel/dlcompat/distinfo +++ b/devel/dlcompat/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/11/19 07:19:14 schmonz Exp $ +$NetBSD: distinfo,v 1.7 2003/06/08 23:00:26 schmonz Exp $ -SHA1 (dlcompat-20021117.tar.gz) = e4d1e077ee8f6bab1523bd172e0354337bf89ce9 -Size (dlcompat-20021117.tar.gz) = 30666 bytes +SHA1 (dlcompat-20030522.tar.gz) = 372dceb1b5cf405db60c1e1dc8cf396b8d6c9746 +Size (dlcompat-20030522.tar.gz) = 50065 bytes |