mosquitto: fix build
[oi-userland.git] / components / developer / quilt / patches / 06-refresh-z.patch
blob923ba56f7b18c921f1720552973c239177ac2999
1 Someday, when Solaris has GNU getopts, we won't need this kludge. This allows
2 test/refresh-z to pass where it wants to use -z without a name argument.
4 Index: quilt/refresh.in
5 ===================================================================
6 --- quilt/refresh.in.orig 2008-11-05 14:11:23.795325000 -0600
7 +++ quilt/refresh.in 2008-11-05 14:20:40.965293000 -0600
8 @@ -117,7 +117,12 @@ do
9 -z)
10 opt_fork=1
11 opt_new_name=$2
12 - shift 2 ;;
13 + shift 2
14 + if [ "$opt_new_name" = "--" ]
15 + then
16 + opt_new_name=
17 + break;
18 + fi ;;
19 -h)
20 usage -h ;;
21 --no-timestamps)