summaryrefslogtreecommitdiffstats
path: root/math/grace
diff options
context:
space:
mode:
Diffstat (limited to 'math/grace')
-rw-r--r--math/grace/Makefile2
-rw-r--r--math/grace/files/patch-ag12
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);
OpenPOWER on IntegriCloud