Closes #17983.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-09-12 04:50:28 -07:00
parent 4b22350aa1
commit b270e6f667

View file

@ -1,8 +1,20 @@
class Sdb < Formula
desc "Ondisk/memory hashtable based on CDB."
homepage "https://github.com/radare/sdb"
url "https://www.radare.org/get/sdb-0.10.5.tar.gz"
sha256 "9eae3ed9e5a889e22395333d2c3503230a6418caad3e7739b918ea37315a87bf"
head "https://github.com/radare/sdb.git"
stable do
url "https://github.com/radare/sdb/archive/0.12.tar.gz"
sha256 "6f1ea21495f2df1030f56ef3517c907466eb817840d2730d4a5abb8a85096a0d"
# Remove for > 0.12
# Avoid "sdbtypes.h: No such file or directory"
# Reported 12 Sep 2017 https://github.com/radare/sdb/issues/147
patch do
url "https://github.com/radare/sdb/commit/f824720.patch?full_index=1"
sha256 "23ad3e130e40ca078a488103d510062fe5bcadf844e01b3ac03c0dd50133f16b"
end
end
bottle do
cellar :any