aboutsummaryrefslogtreecommitdiff
path: root/math/gri
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-09-01 10:36:35 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-09-01 10:36:35 +0000
commitd935d1c630923f178f2b52bb2b7838287cf0f806 (patch)
tree8fa0bcdd270e596135f0c91803ac703ba1d91b59 /math/gri
parent675d6d9c0279c933ade83e7894f9e6deb54c579e (diff)
downloadports-d935d1c630923f178f2b52bb2b7838287cf0f806.tar.gz
ports-d935d1c630923f178f2b52bb2b7838287cf0f806.zip
Notes
Diffstat (limited to 'math/gri')
-rw-r--r--math/gri/files/patch-src_query.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/gri/files/patch-src_query.cc b/math/gri/files/patch-src_query.cc
new file mode 100644
index 000000000000..d071eabaf46a
--- /dev/null
+++ b/math/gri/files/patch-src_query.cc
@@ -0,0 +1,11 @@
+--- src/query.cc.orig 2018-09-01 10:32:12 UTC
++++ src/query.cc
+@@ -56,7 +56,7 @@ queryCmd()
+ if (!find_hint_and_def(hint, def)) {
+ return false;
+ }
+- def_word[0] = '\0';
++ def_word[0] = NULL;
+ chop_into_words(def, def_word, &def_words, NCHAR);
+ // Strip off double-quotes form list of defaults
+ for (unsigned int i = 0; i < def_words; i++) {