aboutsummaryrefslogtreecommitdiff
path: root/math/yacas
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-01-04 15:05:06 +0000
committerJohn Marino <marino@FreeBSD.org>2015-01-04 15:05:06 +0000
commitcef8f1f082687667a93e11631512b3c06144b933 (patch)
tree98eb6b7ab8dab74b4c23bf0cddc6913d39ce643e /math/yacas
parent594b8b6d39726540fe55d9232ca96c9630c4d391 (diff)
downloadports-cef8f1f082687667a93e11631512b3c06144b933.tar.gz
ports-cef8f1f082687667a93e11631512b3c06144b933.zip
Notes
Diffstat (limited to 'math/yacas')
-rw-r--r--math/yacas/files/patch-src_yacasmain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/yacas/files/patch-src_yacasmain.cpp b/math/yacas/files/patch-src_yacasmain.cpp
index 20efd3cf5039..db827b46cd0c 100644
--- a/math/yacas/files/patch-src_yacasmain.cpp
+++ b/math/yacas/files/patch-src_yacasmain.cpp
@@ -1,11 +1,11 @@
---- src/yacasmain.cpp.orig 2014-12-11 21:11:48.000000000 +0000
-+++ src/yacasmain.cpp 2014-12-11 21:13:21.000000000 +0000
-@@ -1083,7 +1083,9 @@
+--- src/yacasmain.cpp.orig 2014-11-25 15:18:46 UTC
++++ src/yacasmain.cpp
+@@ -1083,7 +1083,9 @@ int main(int argc, char** argv)
unsigned char first_stack_var = 0;
the_first_stack_var = &first_stack_var;
-#if defined (__APPLE__)
-+#if defined (__FreeBSD__)
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ root_dir = "%%DATADIR%%/scripts";
+#elif defined (__APPLE__)
char buf[PATH_MAX];