o) Fix error when using funktion from shared libraries (dlopen, dlerror)
(see http://lists.freebsd.org/pipermail/freebsd-questions/2005-October/102547.html) PR: - Submitted by: "Rob" <spamrefuse@yahoo.com>
This commit is contained in:
parent
88a14b6db0
commit
4541402f83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146702
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= grace
|
||||
PORTVERSION= 5.1.18
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math print
|
||||
#
|
||||
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \
|
||||
|
12
math/grace/files/patch-ag
Normal file
12
math/grace/files/patch-ag
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/dlmodule.c.orig 3 Jul 2004 20:47:45 -0000
|
||||
+++ src/dlmodule.c 27 Oct 2005 11:08:30 -0000
|
||||
@@ -89,6 +89,9 @@
|
||||
return RETURN_FAILURE;
|
||||
}
|
||||
|
||||
+ /* clear error indicator */
|
||||
+ dlerror();
|
||||
+
|
||||
newkey.data = dlsym(handle, dl_function);
|
||||
if ((error = (char *) dlerror()) != NULL) {
|
||||
errmsg(error);
|
Loading…
Reference in New Issue
Block a user