diff options
author | obache <obache@pkgsrc.org> | 2010-09-23 05:37:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-09-23 05:37:20 +0000 |
commit | a118d009245fb154767f5edbd43bd2a3d4a4e601 (patch) | |
tree | cf2362aa9041a72dea672600c3a508b7f0fc1549 /lang | |
parent | fed1702a1558dae89d4d2ecd0e6d3f0320b5ce43 (diff) | |
download | pkgsrc-a118d009245fb154767f5edbd43bd2a3d4a4e601.tar.gz |
remove unused patch.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mono/patches/patch-ag | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/lang/mono/patches/patch-ag b/lang/mono/patches/patch-ag deleted file mode 100644 index 2e168f22468..00000000000 --- a/lang/mono/patches/patch-ag +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-ag,v 1.6 2006/07/26 10:57:41 drochner Exp $ - ---- libgc/dyn_load.c.orig 2005-04-11 16:12:45.000000000 +0200 -+++ libgc/dyn_load.c -@@ -70,6 +70,11 @@ - # include <dlfcn.h> - # include <link.h> - #endif -+ -+#ifdef NETBSD -+#include <dlfcn.h> -+#endif -+ - #ifdef SUNOS4 - # include <dlfcn.h> - # include <link.h> -@@ -509,6 +514,31 @@ GC_FirstDLOpenedLinkMap() - break; - } - } -+ -+#if defined(NETBSD) -+#undef dlopen -+#undef dlsym -+#undef dlclose -+ /* This is a hack. For now, it seems that NetBSD 2.0 does not provide -+ a _DYNAMIC with the neccessary DT_DEBUG information. A simple dlopen(0, RTLD_LAZY) -+ does the job. Maybe a NetBSD guru could explain this... -+ */ -+ if(cachedResult == 0) { -+ void* startupSyms = dlopen(0, RTLD_LAZY); -+ dp = (ElfW(Dyn)*)dlsym(startupSyms, "_DYNAMIC"); -+ -+ for(; (tag = dp->d_tag) != 0; dp++ ) { -+ if( tag == DT_DEBUG ) { -+ struct link_map *lm -+ = ((struct r_debug *)(dp->d_un.d_ptr))->r_map; -+ if( lm != 0 ) cachedResult = lm->l_next; /* might be NIL */ -+ break; -+ } -+ } -+ -+ dlclose(startupSyms); -+ } -+#endif - } - return cachedResult; - } |