aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmfract/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmfract/files/patch-ae')
-rw-r--r--graphics/xmfract/files/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/xmfract/files/patch-ae b/graphics/xmfract/files/patch-ae
new file mode 100644
index 000000000000..100b96e99fc0
--- /dev/null
+++ b/graphics/xmfract/files/patch-ae
@@ -0,0 +1,16 @@
+--- src/cmdfile.c.orig Wed Jun 21 00:46:57 1995
++++ src/cmdfile.c Thu Aug 10 22:13:02 2000
+@@ -382,9 +382,11 @@
+ */
+ tempstr = getenv("XMFRACTDIR");
+ if(tempstr == NULL) tempstr = getenv("FRACTDIR");
+- if(tempstr != NULL)
++ if(tempstr != NULL) {
+ sprintf(fractdir, "%s", tempstr);
+-
++ } else {
++ sprintf(fractdir, XMFLACT_LIBDIR);
++ }
+ if(((ret = stat(fractdir, &st)) == -1) ||
+ ((st.st_mode & S_IFMT) != S_IFDIR))
+ {