diff --git a/ketchup/.md5sum b/ketchup/.md5sum index f96a95c55..26af2c884 100644 --- a/ketchup/.md5sum +++ b/ketchup/.md5sum @@ -1 +1,2 @@ 6fbc5e50eea7e93e982aba036ae9b3ad ketchup-0.9.7.tar.bz2 +585b99a08fdb1d695add96749473761b ketchup.patch diff --git a/ketchup/Pkgfile b/ketchup/Pkgfile index 698b1f22f..0228aa43c 100644 --- a/ketchup/Pkgfile +++ b/ketchup/Pkgfile @@ -6,10 +6,12 @@ name=ketchup version=0.9.7 -release=1 -source=(http://www.selenic.com/$name/$name-$version.tar.bz2) +release=2 +source=(http://www.selenic.com/$name/$name-$version.tar.bz2 \ + $name.patch) build() { + patch < $SRC/$name.patch install -D -m 0755 $name $PKG/usr/bin/$name install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1 } diff --git a/ketchup/ketchup.patch b/ketchup/ketchup.patch new file mode 100644 index 000000000..5e7fa87fe --- /dev/null +++ b/ketchup/ketchup.patch @@ -0,0 +1,12 @@ +diff -Nru ketchup-orig/ketchup ketchup/ketchup +--- ketchup-orig/ketchup 2006-04-24 19:35:28.000000000 +0300 ++++ ketchup/ketchup 2006-05-01 04:18:20.000000000 +0300 +@@ -728,7 +728,7 @@ + except: + a = None + +-if os.listdir("."): ++if not a and os.listdir("."): + error("Can't find kernel version for non-empty directory") + sys.exit(-1) +