parent
05db5ec53a
commit
dccb43673b
11
iscsi-initiator-utils-fix-missing-includes.patch
Normal file
11
iscsi-initiator-utils-fix-missing-includes.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- open-iscsi-2.0-871.1.1-bnx2i/usr/iscsi_sysfs.c 2010-01-15 02:24:02.000000000 -0600
|
||||||
|
+++ open-iscsi-2.0-871.1.1-bnx2i.work/usr/iscsi_sysfs.c 2010-01-15 09:50:41.000000000 -0600
|
||||||
|
@@ -22,6 +22,8 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
|
||||||
|
#include "log.h"
|
||||||
|
#include "initiator.h"
|
@ -13,7 +13,7 @@ Patch1: iscsi-initiator-utils-use-var-for-config.patch
|
|||||||
Patch2: iscsi-initiator-utils-use-red-hat-for-name.patch
|
Patch2: iscsi-initiator-utils-use-red-hat-for-name.patch
|
||||||
Patch3: iscsi-initiator-utils-add-libiscsi.patch
|
Patch3: iscsi-initiator-utils-add-libiscsi.patch
|
||||||
Patch4: iscsi-initiator-utils-uip-mgmt.patch
|
Patch4: iscsi-initiator-utils-uip-mgmt.patch
|
||||||
|
Patch5: iscsi-initiator-utils-fix-missing-includes.patch
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -46,6 +46,7 @@ developing applications that use %{name}.
|
|||||||
%patch2 -p1 -b .use-red-hat-for-name
|
%patch2 -p1 -b .use-red-hat-for-name
|
||||||
%patch3 -p1 -b .add-libiscsi
|
%patch3 -p1 -b .add-libiscsi
|
||||||
%patch4 -p1 -b .uip-mgmt
|
%patch4 -p1 -b .uip-mgmt
|
||||||
|
%patch5 -p1 -b .fix-missing-includes
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make OPTFLAGS="%{optflags}" -C utils/sysdeps
|
make OPTFLAGS="%{optflags}" -C utils/sysdeps
|
||||||
|
Loading…
Reference in New Issue
Block a user