summaryrefslogtreecommitdiff
path: root/lang/maude/files/patch-src__Mixfix__global.cc
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2011-12-03 20:41:56 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2011-12-03 20:41:56 +0000
commit67fac3c3e76b822576d4da2df4ee06cebe39d556 (patch)
treeb89548f60d309159191248267bc2bb802d5aab4d /lang/maude/files/patch-src__Mixfix__global.cc
parent-hasunsetenv test fails because main() has wrong return type (diff)
- Update to 2.6.
- Make all files in ${DATADIR} loadable by filename without an explicit path, and without setting MAUDE_LIB. Currently only ${DATADIR}/prelude.maude is loaded (during startup). - Add option FULL_MAUDE (default: on) for user convenience. This installs full-maude26b.maude into ${DATADIR}. - previous maintainer turns port over to committer PR: ports/162955 Submitted by: joemann@beefree.free.de Reviewed by: info@rickvanderzwet.nl Approved by: maintainer, gabor(mentor) Feature safe: yes
Diffstat (limited to 'lang/maude/files/patch-src__Mixfix__global.cc')
-rw-r--r--lang/maude/files/patch-src__Mixfix__global.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/maude/files/patch-src__Mixfix__global.cc b/lang/maude/files/patch-src__Mixfix__global.cc
new file mode 100644
index 000000000000..13d161784e77
--- /dev/null
+++ b/lang/maude/files/patch-src__Mixfix__global.cc
@@ -0,0 +1,14 @@
+--- ./src/Mixfix/global.cc.orig 2006-10-07 01:09:16.000000000 +0200
++++ ./src/Mixfix/global.cc 2011-11-10 19:36:44.000000000 +0100
+@@ -89,6 +89,11 @@
+ directory = executableDirectory;
+ return true;
+ }
++ if (directoryManager.checkAccess(MAUDE_DATADIR, fileName, R_OK, ext))
++ {
++ directory = MAUDE_DATADIR;
++ return true;
++ }
+ }
+ else if (p + 1 < userFileName.length())
+ {