From 9136bac7645421ab5ae8bf06b6c106135f342a28 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Mon, 11 Feb 2008 22:58:10 +0000 Subject: [PATCH] fix compilation errors from missing limits header --- isns-utils-include-limits.patch | 33 +++++++++++++++++++++++++++++++++ isns-utils.spec | 3 +++ 2 files changed, 36 insertions(+) create mode 100644 isns-utils-include-limits.patch diff --git a/isns-utils-include-limits.patch b/isns-utils-include-limits.patch new file mode 100644 index 0000000..9cc83c2 --- /dev/null +++ b/isns-utils-include-limits.patch @@ -0,0 +1,33 @@ +diff -aurp open-isns-0.91/db-file.c open-isns-0.91.work/db-file.c +--- open-isns-0.91/db-file.c 2007-09-21 04:16:43.000000000 -0500 ++++ open-isns-0.91.work/db-file.c 2008-02-11 16:54:47.000000000 -0600 +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + #include "isns.h" + #include "objects.h" +diff -aurp open-isns-0.91/isnsadm.c open-isns-0.91.work/isnsadm.c +--- open-isns-0.91/isnsadm.c 2007-09-22 15:27:24.000000000 -0500 ++++ open-isns-0.91.work/isnsadm.c 2008-02-11 16:55:00.000000000 -0600 +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + #include "isns.h" + #include "util.h" +diff -aurp open-isns-0.91/pki.c open-isns-0.91.work/pki.c +--- open-isns-0.91/pki.c 2007-09-22 14:59:30.000000000 -0500 ++++ open-isns-0.91.work/pki.c 2008-02-11 16:54:07.000000000 -0600 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include "isns.h" + #include "security.h" + #include "util.h" diff --git a/isns-utils.spec b/isns-utils.spec index 756629c..fcdd3e8 100644 --- a/isns-utils.spec +++ b/isns-utils.spec @@ -11,6 +11,7 @@ Source1: isnsd.init Patch0: isns-utils-turn-default-dd-on-to-match-msft.patch Patch1: isns-utils-update-isnsadm-man.patch Patch2: isns-utils-fix-non-utf8-chars-in-copying.patch +Patch3: isns-utils-include-limits.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,6 +29,8 @@ Fibre Channel devices (using iFCP gateways) on a TCP/IP network. %patch0 -p1 -b .turn-default-dd-on-to-match-msft %patch1 -p1 -b .update-isnsadm-man %patch2 -p1 -b .fix-non-utf8-chars-in-copying +%patch3 -p1 -b .isns-utils-include-limits + %build if pkg-config openssl ; then