This patch is in place as the code path it changes fixes is
only accessible on musl based systems and only fails to compile
on musl based systems.
Package-Manager: portage-2.3.0
--- /dev/null
+--- ./include/libisns/util.h.orig
++++ ./include/libisns/util.h
+@@ -114,6 +114,6 @@
+ # define ntohll(x) __bswap_64(x)
+ # endif
+ # else
+-# include <sys/endian.h>
++# include <endian.h>
+ # define htonll(x) htobe64(x)
+ # define ntohll(x) be64toh(x)
+ # endif
slp? ( net-libs/openslp )"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${PN}-${PV}-musl.patch" )
+
src_configure() {
use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI
append-lfs-flags