Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/libs
In directory sc8-pr-cvs1:/tmp/cvs-serv23445
Modified Files:
dlcompat.info dlcompat.patch
Log Message:
Again, I did not feel like making a release, fixes pstoedit
Index: dlcompat.info
===================================================================
RCS file: /cvsroot/fink/dists/10.2/unstable/main/finkinfo/libs/dlcompat.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dlcompat.info 18 Sep 2003 21:42:57 -0000 1.6
+++ dlcompat.info 23 Sep 2003 14:26:15 -0000 1.7
@@ -1,6 +1,6 @@
Package: dlcompat
Version: 20030629
-Revision: 4
+Revision: 5
Maintainer: Peter O'Gorman <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: a2894f76f1d277659af25a07548fb01c
Index: dlcompat.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.2/unstable/main/finkinfo/libs/dlcompat.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dlcompat.patch 1 Jul 2003 12:39:54 -0000 1.1
+++ dlcompat.patch 23 Sep 2003 14:26:15 -0000 1.2
@@ -1,6 +1,15 @@
-diff -u -d -b -w foo/dlfcn.c foo1/dlfcn.c
---- foo/dlfcn.c 23 Jun 2003 14:28:14 -0000 1.33
-+++ foo1/dlfcn.c 1 Jul 2003 12:26:42 -0000
+diff -aurN dlcompat-20030629.orig/dlfcn.c dlcompat-20030629/dlfcn.c
+--- dlcompat-20030629.orig/dlfcn.c Mon Jun 23 23:13:21 2003
++++ dlcompat-20030629/dlfcn.c Tue Sep 23 23:19:11 2003
+@@ -164,7 +164,7 @@
+ static void resetdlerror(void);
+ static const struct mach_header *my_find_image(const char *name);
+ static const struct mach_header *image_for_address(const void *address);
+-static void dlcompat_cleanup(void);
++/* static void dlcompat_cleanup(void); */
+ static inline const char *dyld_error_str(void);
+
+ #if FINK_BUILD
@@ -451,7 +451,7 @@
{
if (dls)
@@ -11,11 +20,36 @@
warning("trying to open a .dylib with RTLD_LOCAL");
error("unable to open a .dylib with RTLD_LOCAL");
@@ -699,7 +699,7 @@
- NSObjectFileImageInappropriateFile:
- if (dyld_NSAddImage && dyld_NSIsSymbolNameDefinedInImage &&
dyld_NSLookupSymbolInImage)
+ case NSObjectFileImageInappropriateFile:
+ if (dyld_NSAddImage && dyld_NSIsSymbolNameDefinedInImage &&
dyld_NSLookupSymbolInImage)
{
- if (!isFlagSet(mode, RTLD_GLOBAL))
+ if (isFlagSet(mode, RTLD_LOCAL))
{
- warning("trying to open a .dylib with
RTLD_LOCAL");
+ warning("trying to open a .dylib with
RTLD_LOCAL");
error("unable to open this file with
RTLD_LOCAL");
+@@ -812,12 +812,13 @@
+ if (pthread_key_create(&dlerror_key, &dlerrorfree))
+ exit(1);
+ /* And be neat and tidy and clean up after ourselves */
+- atexit(dlcompat_cleanup);
++ /* atexit(dlcompat_cleanup); */
++ /* This does not work, we can not guarantee the order atexit
functions will be called */
+ }
+ }
+
+ #pragma CALL_ON_LOAD dlcompat_init_func
+-
++/*
+ static void dlcompat_cleanup(void)
+ {
+ struct dlstatus *dls;
+@@ -839,7 +840,7 @@
+ free(dls);
+ }
+ }
+-
++*/
+ static void resetdlerror()
+ {
+ struct dlthread *tss;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits