summaryrefslogtreecommitdiff
path: root/misc/vym/patches/patch-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/vym/patches/patch-main.cpp')
-rw-r--r--misc/vym/patches/patch-main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/vym/patches/patch-main.cpp b/misc/vym/patches/patch-main.cpp
new file mode 100644
index 00000000000..54e1b6d6e2c
--- /dev/null
+++ b/misc/vym/patches/patch-main.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-main.cpp,v 1.1 2013/01/03 15:44:19 ryoon Exp $
+
+--- main.cpp.orig 2012-07-04 13:28:11.000000000 +0000
++++ main.cpp
+@@ -251,7 +251,7 @@ int main(int argc, char* argv[])
+ vymBaseDir.setPath(basePath + "/share/vym");
+
+ #else
+- vymBaseDir.setPath ("/usr/share/vym");
++ vymBaseDir.setPath ("@PREFIX@/share/vym");
+ if (!vymBaseDir.exists())
+ {
+ vymBaseDir.setPath ("/usr/local/share/vym");