!18 Fix devel without node header files
Merge pull request !18 from sigui/master
This commit is contained in:
commit
e60c116105
36
0045-Fix-devel-without-node-header-files.patch
Normal file
36
0045-Fix-devel-without-node-header-files.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From f01725cfd9b2214f7c602bd72a5af9578dc9d023 Mon Sep 17 00:00:00 2001
|
||||
From: si-gui <245140120@qq.com>
|
||||
Date: Mon, 15 Jun 2020 17:07:36 +0800
|
||||
Subject: [PATCH] Fix devel without node header files
|
||||
|
||||
When user include libopeniscsiusr.h in the c files,we will get an error:
|
||||
"/usr/include/libopeniscsiusr.h:33:10: fatal error:
|
||||
libopeniscsiusr_node.h: No such file or directory"
|
||||
|
||||
We find libopeniscsiusr_node.h was forgetton in our
|
||||
libopeniscsiusr/Makefile, so fix it. Otherwise user can't use open-iscsi
|
||||
header file for development
|
||||
|
||||
Signed-off-by: si-gui <245140120@qq.com>
|
||||
|
||||
---
|
||||
libopeniscsiusr/Makefile | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
|
||||
index bf7c96c..75f6fb3 100644
|
||||
--- a/libopeniscsiusr/Makefile
|
||||
+++ b/libopeniscsiusr/Makefile
|
||||
@@ -35,7 +35,8 @@ PKGFILE = libopeniscsiusr.pc
|
||||
HEADERS = libopeniscsiusr/libopeniscsiusr.h \
|
||||
libopeniscsiusr/libopeniscsiusr_common.h \
|
||||
libopeniscsiusr/libopeniscsiusr_session.h \
|
||||
- libopeniscsiusr/libopeniscsiusr_iface.h
|
||||
+ libopeniscsiusr/libopeniscsiusr_iface.h \
|
||||
+ libopeniscsiusr/libopeniscsiusr_node.h
|
||||
TESTS = tests/test_context tests/test_session tests/test_iface tests/test_node
|
||||
EXTRA_MAN_FILES = libopeniscsiusr.h.3
|
||||
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
Name: open-iscsi
|
||||
Version: 2.0.876
|
||||
Release: 20
|
||||
Release: 21
|
||||
Summary: ISCSI software initiator daemon and utility programs
|
||||
License: GPLv2+ and BSD
|
||||
URL: http://www.open-iscsi.org
|
||||
@ -56,6 +56,7 @@ Patch0041: 0041-Fix-issue-where-iscsi-iname-p-core-dumps.patch
|
||||
Patch0042: 0042-modify-iSCSI-shared-memory-permissions-for-logs.patch
|
||||
Patch0043: 0043-iscsi-Add-break-to-while-loop.patch
|
||||
Patch0044: 0044-iscsi-fix-fd-leak.patch
|
||||
Patch0045: 0045-Fix-devel-without-node-header-files.patch
|
||||
|
||||
BuildRequires: flex bison doxygen kmod-devel systemd-units gcc git isns-utils-devel
|
||||
BuildRequires: autoconf automake libtool libmount-devel openssl-devel pkg-config gdb
|
||||
@ -188,6 +189,9 @@ fi
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2020 sunguoshuai <sunguoshuai@huawei.com> - 2.0.876-21
|
||||
- fix devel without node header files
|
||||
|
||||
* Mon Jun 15 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 2.0.876-20
|
||||
- Backport two upstream bugfix patches
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user