summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vis/gen.rc10
-rw-r--r--pkg/vis/patch/0001-Add-rc-script-detection.patch4
-rw-r--r--pkg/vis/rev2
m---------pkg/vis/src0
4 files changed, 10 insertions, 6 deletions
diff --git a/pkg/vis/gen.rc b/pkg/vis/gen.rc
index 4137eef2..7b4b6bb0 100644
--- a/pkg/vis/gen.rc
+++ b/pkg/vis/gen.rc
@@ -3,6 +3,7 @@ cflags\
'-std=c99' \
-D 'CONFIG_ACL=0' \
-D 'CONFIG_LPEG=1' \
+ -D 'CONFIG_TRE=0' \
-D 'CONFIG_LUA=1' \
-D 'CONFIG_SELINUX=0' \
-D '_POSIX_C_SOURCE=200809L' \
@@ -24,9 +25,9 @@ phony deps '$outdir'/config.h '$builddir'/pkg/^(\
exe vis -d '$dir'/deps \
array.c buffer.c libutf.c main.c map.c register.c ring-buffer.c\
- sam.c text.c text-motions.c text-objects.c text-regex.c text-util.c\
+ sam.c text.c text-motions.c text-objects.c text-util.c\
ui-curses.c view.c vis.c vis-lua.c vis-modes.c vis-motions.c\
- vis-operators.c vis-prompt.c vis-text-objects.c\
+ vis-operators.c vis-prompt.c vis-text-objects.c text-regex.c\
'$builddir'/pkg/^(\
libtermkey/libtermkey.a.d\
lpeg/liblpeg.a\
@@ -35,12 +36,15 @@ exe vis -d '$dir'/deps \
)
file bin/vis '$outdir'/vis 755
+exe vis-digraph vis-digraph.c
+file bin/vis-digraph '$outdir'/vis-digraph 755
+
exe vis-menu vis-menu.c
file bin/vis-menu '$outdir'/vis-menu 755
file bin/vis-open '$srcdir'/vis-open 755
-for(f in vis.1 vis-menu.1 vis-open.1) {
+for(f in vis.1 vis-digraph.1 vis-menu.1 vis-open.1) {
build '$outdir'/$f sed '$srcdir'/man/$f ; with\
expr s,VERSION,$version,
man -d '$outdir' 1 $f
diff --git a/pkg/vis/patch/0001-Add-rc-script-detection.patch b/pkg/vis/patch/0001-Add-rc-script-detection.patch
index ae68eed8..fbe2a36a 100644
--- a/pkg/vis/patch/0001-Add-rc-script-detection.patch
+++ b/pkg/vis/patch/0001-Add-rc-script-detection.patch
@@ -1,4 +1,4 @@
-From 0375c1d0c147b9ec7e8b273044de44c6de760f81 Mon Sep 17 00:00:00 2001
+From 7a6d49b0c1bd0dcf3f0072f9be18d448821dc04f Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Fri, 30 Dec 2016 20:34:04 -0800
Subject: [PATCH] Add rc script detection
@@ -8,7 +8,7 @@ Subject: [PATCH] Add rc script detection
1 file changed, 3 insertions(+)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
-index 819a246..9bbfadc 100644
+index e6bb83b..b687dfa 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -290,6 +290,9 @@ vis.ftdetect.filetypes = {
diff --git a/pkg/vis/rev b/pkg/vis/rev
index 45a4fb75..ec635144 100644
--- a/pkg/vis/rev
+++ b/pkg/vis/rev
@@ -1 +1 @@
-8
+9
diff --git a/pkg/vis/src b/pkg/vis/src
-Subproject 799183a57a925c3adaf15e0c5b28bfa23047257
+Subproject 533d7bc5249d531738553d4b6834c9b3ca8209c