aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox/busybox-1.7.0-vi-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox/busybox-1.7.0-vi-path.patch')
-rw-r--r--core/busybox/busybox-1.7.0-vi-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/busybox/busybox-1.7.0-vi-path.patch b/core/busybox/busybox-1.7.0-vi-path.patch
new file mode 100644
index 0000000000..b10d40a7c5
--- /dev/null
+++ b/core/busybox/busybox-1.7.0-vi-path.patch
@@ -0,0 +1,13 @@
+Index: include/applets.h
+===================================================================
+--- include/applets.h (revision 19781)
++++ include/applets.h (working copy)
+@@ -356,7 +356,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))