Skip to content

Commit fe88586

Browse files
BrewTestBotdaeho-ro
authored andcommitted
libiscsi 1.20.1
1 parent ce2042c commit fe88586

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Formula/lib/libiscsi.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Libiscsi < Formula
22
desc "Client library and utilities for iscsi"
33
homepage "https://github.com/sahlberg/libiscsi"
4-
url "https://github.com/sahlberg/libiscsi/archive/refs/tags/1.20.0.tar.gz"
5-
sha256 "6321d802103f2a363d3afd9a5ae772de0b4052c84fe6a301ecb576b34e853caa"
4+
url "https://github.com/sahlberg/libiscsi/archive/refs/tags/1.20.1.tar.gz"
5+
sha256 "6bd6feef2904de1bb1869cec935b58995bc1311cad57184a2221e09ed6137eec"
66
license all_of: [:public_domain, "LGPL-2.1-or-later", "GPL-2.0-or-later"]
77
head "https://github.com/sahlberg/libiscsi.git", branch: "master"
88

@@ -23,6 +23,13 @@ class Libiscsi < Formula
2323
depends_on "libtool" => :build
2424
depends_on "cunit"
2525

26+
# Fix to error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?, remove on next release
27+
# Issue ref: https://github.com/sahlberg/libiscsi/issues/442
28+
patch do
29+
url "https://github.com/sahlberg/libiscsi/commit/fa37a2136c59a16e3112a957ccdb8197ecf2a302.patch?full_index=1"
30+
sha256 "02f21294fcfa9535f6ba984e7c0ac14d7c6aded387db6e744c6ebf892dc69c4f"
31+
end
32+
2633
def install
2734
system "./autogen.sh"
2835
system "./configure", "--disable-dependency-tracking",

0 commit comments

Comments
 (0)