@@ -1,19 +1,19 @@
11Allow BusyBox to be invoked as "<something>-busybox". This is
22necessary when it's run from the Nix store as <hash>-busybox during
33stdenv bootstrap.
4−--- busybox-1.26.1-orig/libbb/appletlib.orig 2016-10-26 19:54:20.510957575 -0400
5−+++ busybox-1.26.1/libbb/appletlib.c 2016-10-26 19:48:31.590862853 -0400
6−@@ -887,7 +887,7 @@
4+--- a/libbb/appletlib.c
5++++ b/libbb/appletlib.c
6+@@ -947,7 +947,7 @@ void FAST_FUNC run_applet_no_and_exit(int applet_no, const char *name, char **ar
77 static NORETURN void run_applet_and_exit(const char *name, char **argv)
88 {
99 # if ENABLE_BUSYBOX
1010- if (is_prefixed_with(name, "busybox"))
1111+ if (strstr(name, "busybox") != 0)
12− exit(busybox_main(argv));
12+ exit(busybox_main(/*unused:*/ 0, argv));
1313 # endif
1414 # if NUM_APPLETS > 0
15−@@ -981,7 +981,7 @@ int main(int argc UNUSED_PARAM, char **argv)
16−
15+@@ -1045,7 +1045,7 @@ int main(int argc UNUSED_PARAM, char **argv)
16+
1717 lbb_prepare("busybox" IF_FEATURE_INDIVIDUAL(, argv));
1818 # if !ENABLE_BUSYBOX
1919- if (argv[1] && is_prefixed_with(bb_basename(argv[0]), "busybox"))