diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2005-10-29 21:09:02 +0000 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2005-10-29 21:09:02 +0000 |
commit | d806efee40c58551dc067415e6c0712407ec748a (patch) | |
tree | d0f013265e5cabd175eba92c5542c4682174bc87 /math | |
parent | b859b5a55bfe8df0e4125a7a86c05ca8ebb23311 (diff) | |
download | FreeBSD-ports-d806efee40c58551dc067415e6c0712407ec748a.zip FreeBSD-ports-d806efee40c58551dc067415e6c0712407ec748a.tar.gz |
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>
Diffstat (limited to 'math')
-rw-r--r-- | math/grace/Makefile | 2 | ||||
-rw-r--r-- | math/grace/files/patch-ag | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/math/grace/Makefile b/math/grace/Makefile index e85e3e0..84b21ad 100644 --- a/math/grace/Makefile +++ b/math/grace/Makefile @@ -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/ \ diff --git a/math/grace/files/patch-ag b/math/grace/files/patch-ag new file mode 100644 index 0000000..f8312f0 --- /dev/null +++ b/math/grace/files/patch-ag @@ -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); |