ketchup: fixed problem listing supported kernel trees
This commit is contained in:
parent
18dc2fa65c
commit
278acc0862
@ -1 +1,2 @@
|
||||
1653d39ea2ba534543dd87b133502e24 ketchup-0.9.6.tar.bz2
|
||||
d086689be24172c9d9110cdf9f75dcc3 ketchup-list.patch
|
||||
|
@ -6,10 +6,12 @@
|
||||
|
||||
name=ketchup
|
||||
version=0.9.6
|
||||
release=1
|
||||
source=(http://www.selenic.com/$name/$name-$version.tar.bz2)
|
||||
release=2
|
||||
source=(http://www.selenic.com/$name/$name-$version.tar.bz2 \
|
||||
ketchup-list.patch)
|
||||
|
||||
build() {
|
||||
patch -p1 < $SRC/ketchup-list.patch
|
||||
install -D -m 0755 $name $PKG/usr/bin/$name
|
||||
install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1
|
||||
}
|
||||
|
13
ketchup/ketchup-list.patch
Normal file
13
ketchup/ketchup-list.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- a/ketchup Sun Mar 5 11:06:59 2006 -0600
|
||||
+++ b/ketchup Sun Mar 5 11:10:11 2006 -0600
|
||||
@@ -687,7 +687,10 @@ if options["list-trees"]:
|
||||
l = version_info.keys()
|
||||
l.sort()
|
||||
for tree in l:
|
||||
- lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])
|
||||
+ if version_info[tree][3] == 0:
|
||||
+ lprint(tree, "(unsigned)")
|
||||
+ else:
|
||||
+ lprint(tree, "(signed)")
|
||||
lprint(" " + version_info[tree][4])
|
||||
sys.exit(0)
|
Loading…
x
Reference in New Issue
Block a user