aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox/busybox-1.12.1-vi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox/busybox-1.12.1-vi.patch')
-rw-r--r--core/busybox/busybox-1.12.1-vi.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/busybox/busybox-1.12.1-vi.patch b/core/busybox/busybox-1.12.1-vi.patch
new file mode 100644
index 0000000000..428135c9f5
--- /dev/null
+++ b/core/busybox/busybox-1.12.1-vi.patch
@@ -0,0 +1,11 @@
+--- busybox-1.12.1.orig/include/applets.h Tue Oct 14 08:10:32 2008
++++ busybox-1.12.1/include/applets.h Tue Oct 14 08:11:16 2008
+@@ -389,7 +389,7 @@
+ USE_UUDECODE(APPLET(uudecode, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+ USE_UUENCODE(APPLET(uuencode, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+ USE_VCONFIG(APPLET(vconfig, _BB_DIR_SBIN, _BB_SUID_NEVER))
+-USE_VI(APPLET(vi, _BB_DIR_BIN, _BB_SUID_NEVER))
++USE_VI(APPLET(vi, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+ USE_VLOCK(APPLET(vlock, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
+ USE_WATCH(APPLET(watch, _BB_DIR_BIN, _BB_SUID_NEVER))
+ USE_WATCHDOG(APPLET(watchdog, _BB_DIR_SBIN, _BB_SUID_NEVER))