mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
libiscsi: fix build on clang 16
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user