[PD-cvs] packages/patches/darwin darwin_dlopen.patch,1.1,1.2

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Feb 27 06:19:29 CET 2006


Update of /cvsroot/pure-data/packages/patches/darwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7522/darwin

Modified Files:
	darwin_dlopen.patch 
Log Message:
make quick update to make dlopen patch apply cleanly to 0.39.2

Index: darwin_dlopen.patch
===================================================================
RCS file: /cvsroot/pure-data/packages/patches/darwin/darwin_dlopen.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** darwin_dlopen.patch	26 Nov 2005 01:51:35 -0000	1.1
--- darwin_dlopen.patch	27 Feb 2006 05:19:27 -0000	1.2
***************
*** 43,65 ****
           NSObjectFileImage image; 
           void *ret;
- @@ -134,8 +137,18 @@
-              return 0;
-          }
-          ret = NSLinkModule( image, filename, 
- -               NSLINKMODULE_OPTION_BINDNOW + NSLINKMODULE_OPTION_PRIVATE); 
- -
- +               NSLINKMODULE_OPTION_BINDNOW |
- +               //NSLINKMODULE_OPTION_PRIVATE |
- +               NSLINKMODULE_OPTION_RETURN_ON_ERROR);
- +               
- +        if (ret == NULL) {
- +        	int err;
- +        	const char *fname, *errt;
- +        	NSLinkEditErrors c;
- +        	NSLinkEditError(&c, &err, &fname, &errt);
- +        	post("link error %d %s %s", err, fname, errt);
- +        	return 0;
- +        }
-          s = NSLookupSymbolInModule(ret, symname); 
-  
-          if (s)
--- 43,44 ----





More information about the Pd-cvs mailing list