void-packages/srcpkgs/fakeroot/patches/busybox_getopt_compat.diff
Juan RP 46bcfebf30 fakeroot: added patch to make it work with busybox getopt, bumprev.
--HG--
extra : convert_revision : 0f6a39712ef6ec060079e50de26e54b4aff6dc45
2010-01-15 20:08:17 +01:00

11 lines
408 B
Diff

--- scripts/fakeroot.in.orig 2010-01-15 20:06:08.160073189 +0100
+++ scripts/fakeroot.in 2010-01-15 20:06:19.679197650 +0100
@@ -43,7 +43,7 @@ export FAKED_MODE
libfound=no
-GETOPTEST=`getopt --version`
+GETOPTEST=`getopt --version 2>/dev/null`
case $GETOPTEST in
getopt*) # GNU getopt
FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`