libiscsi: fix build on clang 16
This commit is contained in:
parent
c6ce286002
commit
c0ade64188
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib/socket.c \
|
||||
--replace "void iscsi_decrement_iface_rr() {" "void iscsi_decrement_iface_rr(void) {"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
# This problem is gone on libiscsi master.
|
||||
|
|
Loading…
Reference in a new issue