summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/vym/distinfo3
-rw-r--r--misc/vym/patches/patch-main.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/vym/distinfo b/misc/vym/distinfo
index 1f1b2ae8e7a..9863b854b0f 100644
--- a/misc/vym/distinfo
+++ b/misc/vym/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2019/10/30 13:05:16 kamil Exp $
+$NetBSD: distinfo,v 1.9 2019/10/30 13:09:38 kamil Exp $
SHA1 (vym-2.7.1.tar.bz2) = 29dc9898e374b662806593d0a9d0e0b08e6997c2
RMD160 (vym-2.7.1.tar.bz2) = fa3aba859cfdebd884aead017f116b180481e311
SHA512 (vym-2.7.1.tar.bz2) = 985dbf18f743c36b484050ae24e4392eeae701c6c72fca6bd3dc5b70b38a283211946e279804c66253b5a394a642683ca4e3a66a7288400a9193fbcbfd8c9582
Size (vym-2.7.1.tar.bz2) = 6718924 bytes
+SHA1 (patch-main.cpp) = 0292150eccc272431ff9dc0858bd3f0ce9532b8d
diff --git a/misc/vym/patches/patch-main.cpp b/misc/vym/patches/patch-main.cpp
new file mode 100644
index 00000000000..50f46ee20f5
--- /dev/null
+++ b/misc/vym/patches/patch-main.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-main.cpp,v 1.3 2019/10/30 13:09:38 kamil Exp $
+
+--- main.cpp.orig 2019-05-14 13:33:32.620701292 +0000
++++ main.cpp
+@@ -319,7 +319,7 @@ int main(int argc, char* argv[])
+ vymInstallDir.setPath(basePath);
+ vymBaseDir.setPath(basePath);
+ #else
+- vymBaseDir.setPath ("/usr/share/vym");
++ vymBaseDir.setPath ("@PREFIX@/share/vym");
+ if (!vymBaseDir.exists())
+ {
+ vymBaseDir.setPath ("/usr/local/share/vym");