Fix INT_MAX compilation error
This commit is contained in:
parent
5a3872e807
commit
ac2e535ba7
10
iscsi-initiator-utils-fix-compile-err-include-limits.patch
Normal file
10
iscsi-initiator-utils-fix-compile-err-include-limits.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- open-iscsi-2.0-868-test1/usr/idbm.c 2008-01-03 13:23:36.000000000 -0600
|
||||
+++ open-iscsi-2.0-868-test1.work/usr/idbm.c 2008-02-06 15:23:10.000000000 -0600
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <dirent.h>
|
||||
+#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -11,6 +11,7 @@ Patch2: iscsi-initiator-utils-use-red-hat-for-name.patch
|
||||
Patch3: iscsi-initiator-utils-ibft-sysfs.patch
|
||||
Patch4: iscsi-initiator-utils-add-fw-login.patch
|
||||
Patch5: iscsi-initiator-utils-use-new-tpgt.patch
|
||||
Patch6: iscsi-initiator-utils-fix-compile-err-include-limits.patch
|
||||
|
||||
Group: System Environment/Daemons
|
||||
License: GPLv2+
|
||||
@ -35,6 +36,7 @@ Protocol networks.
|
||||
%patch3 -p1 -b .ibft-sysfs
|
||||
%patch4 -p1 -b .add-fw-login
|
||||
%patch5 -p1 -b .use-new-tpgt
|
||||
%patch6 -p1 -b .fix-compile-err-include-limits
|
||||
|
||||
%build
|
||||
make OPTFLAGS="%{optflags}" -C utils/fwparam_ibft
|
||||
|
Loading…
Reference in New Issue
Block a user