From d363cfd0948774890a159617d60e61f0285c4f1d Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 5 Nov 2006 15:07:21 +0000 Subject: Unslung: slingbox: upgrade slingbox to busybox 1.2.2 --- packages/busybox/slingbox-1.2.2/lazy_umount.patch | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 packages/busybox/slingbox-1.2.2/lazy_umount.patch (limited to 'packages/busybox/slingbox-1.2.2/lazy_umount.patch') diff --git a/packages/busybox/slingbox-1.2.2/lazy_umount.patch b/packages/busybox/slingbox-1.2.2/lazy_umount.patch new file mode 100644 index 0000000000..345272b8c3 --- /dev/null +++ b/packages/busybox/slingbox-1.2.2/lazy_umount.patch @@ -0,0 +1,27 @@ +---busybox-1.2.2/util-linux/umount.c~ 2006-11-04 17:59:20.000000000 -0600 ++++ busybox-1.2.2/util-linux/umount.c 2006-11-04 18:03:55.000000000 -0600 +@@ -16,13 +16,14 @@ + #include + #include + +-#define OPTION_STRING "flDnravd" ++#define OPTION_STRING "flDnravdL" + #define OPT_FORCE 1 + #define OPT_LAZY 2 + #define OPT_DONTFREELOOP 4 + #define OPT_NO_MTAB 8 + #define OPT_REMOUNT 16 + #define OPT_ALL (ENABLE_FEATURE_UMOUNT_ALL ? 32 : 0) ++#define OPT_LINKSYS_LAZY 256 + + int umount_main(int argc, char **argv) + { +@@ -45,6 +46,8 @@ + argc -= optind; + argv += optind; + ++ if (opt & OPT_LINKSYS_LAZY) opt |= OPT_LAZY; /* -L same as -l */ ++ + doForce = MAX((opt & OPT_FORCE), (opt & OPT_LAZY)); + + /* Get a list of mount points from mtab. We read them all in now mostly -- cgit v1.2.3