diff options
-rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Makefile-Do-not-set-Werror.patch | 10 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch | 27 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb (renamed from meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.7.bb) | 3 |
3 files changed, 7 insertions, 33 deletions
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Makefile-Do-not-set-Werror.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Makefile-Do-not-set-Werror.patch index ab6ff6e131..d720a1adb0 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Makefile-Do-not-set-Werror.patch +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Makefile-Do-not-set-Werror.patch | |||
@@ -9,13 +9,12 @@ warning as errors | |||
9 | Upstream-Status: Inappropriate [OE-Specific] | 9 | Upstream-Status: Inappropriate [OE-Specific] |
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | |||
13 | --- | 12 | --- |
14 | usr/Makefile | 2 +- | 13 | usr/Makefile | 2 +- |
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 15 | ||
17 | diff --git a/usr/Makefile b/usr/Makefile | 16 | diff --git a/usr/Makefile b/usr/Makefile |
18 | index 3fc2248..2b5a234 100644 | 17 | index 84f33bc..9e7b839 100644 |
19 | --- a/usr/Makefile | 18 | --- a/usr/Makefile |
20 | +++ b/usr/Makefile | 19 | +++ b/usr/Makefile |
21 | @@ -44,7 +44,7 @@ HOMEDIR ?= $(etcdir)/iscsi | 20 | @@ -44,7 +44,7 @@ HOMEDIR ?= $(etcdir)/iscsi |
@@ -25,5 +24,8 @@ index 3fc2248..2b5a234 100644 | |||
25 | -WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common | 24 | -WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common |
26 | +WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common | 25 | +WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common |
27 | CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \ | 26 | CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \ |
28 | -I$(TOPDIR)/libopeniscsiusr | 27 | -I$(TOPDIR)/libopeniscsiusr \ |
29 | CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod) | 28 | -DISCSI_VERSION_STR=\"$(ISCSI_VERSION_STR)\" |
29 | -- | ||
30 | 2.34.1 | ||
31 | |||
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch deleted file mode 100644 index 02669e9c80..0000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From ef54a6f4a81da8ab653d352bfbd3b2521ce9eb7c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 29 Aug 2022 15:55:32 -0700 | ||
4 | Subject: [PATCH] iscsiuio: Use pthread_t for INVALID_THREAD | ||
5 | |||
6 | pthread_t is opaque, therefore avoid compiler errors on musl when | ||
7 | compiling since pthread_t is not a plain old data type, like glibc | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/open-iscsi/open-iscsi/pull/363] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | iscsiuio/src/unix/options.h | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/iscsiuio/src/unix/options.h b/iscsiuio/src/unix/options.h | ||
16 | index 63b8635..873a98a 100644 | ||
17 | --- a/iscsiuio/src/unix/options.h | ||
18 | +++ b/iscsiuio/src/unix/options.h | ||
19 | @@ -86,7 +86,7 @@ | ||
20 | #define DEBUG_ON 0x2 | ||
21 | |||
22 | #define INVALID_FD -1 | ||
23 | -#define INVALID_THREAD -1 | ||
24 | +#define INVALID_THREAD (pthread_t)-1 | ||
25 | #define INVALID_HOST_NO -1 | ||
26 | |||
27 | struct options { | ||
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.7.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb index 3ed55d65a0..2caddbb54a 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.7.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb | |||
@@ -12,7 +12,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d) | |||
12 | 12 | ||
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
14 | 14 | ||
15 | SRCREV = "7b53fcc502da8617110fd64d675b476772c28a6f" | 15 | SRCREV = "543ba0f15d340b97f30782308cec424a6738fec3" |
16 | 16 | ||
17 | SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \ | 17 | SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \ |
18 | file://0001-Makefile-Do-not-set-Werror.patch \ | 18 | file://0001-Makefile-Do-not-set-Werror.patch \ |
@@ -22,7 +22,6 @@ SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \ | |||
22 | file://iscsi-initiator.service \ | 22 | file://iscsi-initiator.service \ |
23 | file://iscsi-initiator-targets.service \ | 23 | file://iscsi-initiator-targets.service \ |
24 | file://set_initiatorname \ | 24 | file://set_initiatorname \ |
25 | file://0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch \ | ||
26 | " | 25 | " |
27 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
28 | 27 | ||