From ac2e535ba79de0af8870de5eb19621986797b927 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Wed, 6 Feb 2008 22:04:18 +0000 Subject: [PATCH] Fix INT_MAX compilation error --- ...nitiator-utils-fix-compile-err-include-limits.patch | 10 ++++++++++ iscsi-initiator-utils.spec | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 iscsi-initiator-utils-fix-compile-err-include-limits.patch diff --git a/iscsi-initiator-utils-fix-compile-err-include-limits.patch b/iscsi-initiator-utils-fix-compile-err-include-limits.patch new file mode 100644 index 0000000..53234e0 --- /dev/null +++ b/iscsi-initiator-utils-fix-compile-err-include-limits.patch @@ -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 + #include + #include ++#include + #include + #include + diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index b247a4f..2bc0cd7 100644 --- a/iscsi-initiator-utils.spec +++ b/iscsi-initiator-utils.spec @@ -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