open-isns: update to 0.99

Removed patch has been upstreammed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Oleksandr Kravchuk
2019-04-07 16:49:31 +02:00
committed by Khem Raj
parent 807ecc4056
commit b4a41340e4
2 changed files with 2 additions and 42 deletions
@@ -1,38 +0,0 @@
From e0d86318227a23f00cf0f6639a6685bb9f5771a1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 12 Dec 2017 09:42:19 -0800
Subject: [PATCH] util.h: endian.h is available on musl on linux
just checking for glibc alone is not enough since
it excludes musl, therefore check for platform
being linux as well
Fixes build issues
include/libisns/util.h:114:12: fatal error: sys/endian.h: No such file or directory
# include <sys/endian.h>
^~~~~~~~~~~~~~
Upstream-Status: Submitted
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
include/libisns/util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libisns/util.h b/include/libisns/util.h
index 9a2bd13..6cc1a1b 100644
--- a/include/libisns/util.h
+++ b/include/libisns/util.h
@@ -100,7 +100,7 @@ enum {
* There's no htonll yet
*/
#ifndef htonll
-# ifdef __GLIBC__
+# if defined(__GLIBC__) || defined(__linux__)
# include <endian.h>
# include <byteswap.h>
# if __BYTE_ORDER == __BIG_ENDIAN
--
2.15.1
@@ -13,11 +13,9 @@ SECTION = "net"
DEPENDS = "openssl"
SRC_URI = "git://github.com/open-iscsi/open-isns \
file://0001-util.h-endian.h-is-available-on-musl-on-linux.patch \
"
SRC_URI = "git://github.com/open-iscsi/open-isns"
SRCREV = "e84374ce7d1f5fc58a4c0fc751e075b2cc752c34"
SRCREV = "cfdbcff867ee580a71bc9c18c3a38a6057df0150"
S = "${WORKDIR}/git"