summaryrefslogtreecommitdiff
path: root/graphics/xmfract/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmfract/files/patch-af')
-rw-r--r--graphics/xmfract/files/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/xmfract/files/patch-af b/graphics/xmfract/files/patch-af
new file mode 100644
index 000000000000..1636d8c572c3
--- /dev/null
+++ b/graphics/xmfract/files/patch-af
@@ -0,0 +1,22 @@
+--- src/init_data.c.orig Wed Jun 21 00:47:04 1995
++++ src/init_data.c Thu Aug 10 22:13:02 2000
+@@ -332,7 +332,9 @@
+ {
+ char *tempstr = getenv("XMFRACTDIR");
+
+- if (tempstr == NULL) tempstr = getenv("FRACTDIR");
++ if (tempstr == NULL) {
++ tempstr = getenv("FRACTDIR");
++ }
+
+ if(tempstr != NULL)
+ {
+@@ -346,7 +348,7 @@
+ }
+
+ if(fractdir == NULL)
+- fractdir = getcwd(NULL, 64);
++ fractdir = XMFLACT_LIBDIR;
+
+ if(fractdir == NULL)
+ {