From c579bd11949a48c4757b64b561163951f829a4a6 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 22 Mar 2011 13:02:05 +0100 Subject: open-iscsi: fix compilation when openslp is installed. Two main issues: 1. open-iscsi build system, inside Makefile, user target, calls ./configure (which is very bad itself) without letting to choose configure options. Fixed in: open-iscsi-2.0.872-omg-calling-configure.patch 2. when openslp support is automagically enabled, -lslp didn't get added to compiler arguments. Fixed in: open-iscsi-2.0.872-slp.patch Peace. --- patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch (limited to 'patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch') diff --git a/patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch b/patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch new file mode 100644 index 0000000..16658f3 --- /dev/null +++ b/patches/iscsi/2.0-872/open-iscsi-2.0.872-slp.patch @@ -0,0 +1,11 @@ +--- open-iscsi-2.0-872.orig/utils/open-isns/configure.ac ++++ open-iscsi-2.0-872/utils/open-isns/configure.ac +@@ -79,7 +79,7 @@ AC_ARG_WITH(slp, + WITH_SLP=$withval + else + WITH_SLP=yes +- CPPFLAGS="$CPPFLAGS -I${withval}" ++ CPPFLAGS="$CPPFLAGS -I${withval} -lslp" + LDFLAGS="$LDFLAGS -L${withval}" + fi + ] -- cgit v1.2.3-65-gdbad