From d309aba9b2feecf7e2f88f0dbaf60df195a47214 Mon Sep 17 00:00:00 2001 From: Goldwyn Rodrigues Date: Wed, 3 Jul 2013 13:54:07 +0000 Subject: [PATCH] Accepting request 181861 from home:goldwynr:branches:network:ha-clustering:Factory bnc#827504 OBS-URL: https://build.opensuse.org/request/show/181861 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=57 --- ocfs2-tools.changes | 5 +++++ ocfs2-tools.spec | 2 ++ ocfs2console-libraries-include-aio.patch | 13 +++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 ocfs2console-libraries-include-aio.patch diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index 3ff5250..798dc46 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 3 07:40:31 CDT 2013 - rgoldwyn@suse.com +- ocfs2console-libraries-include-aio.patch: Include aio + while compiling ocfs2console (bnc#827504) + ------------------------------------------------------------------- Mon May 27 08:14:45 UTC 2013 - tserong@suse.com diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index 5a7cda4..7a59bcc 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -45,6 +45,7 @@ Patch210: restore-g_list_append.patch Patch212: bug-805764-ocfs2-controld.patch Patch213: bnc804707-reduce-RR-priority.patch Patch214: use-symlink-in-udev-rules.patch +Patch215: ocfs2console-libraries-include-aio.patch BuildRequires: autoconf BuildRequires: e2fsprogs-devel BuildRequires: libaio-devel @@ -143,6 +144,7 @@ managing the file system. %patch212 -p1 %patch213 -p1 %patch214 -p1 +%patch215 -p1 %build export PROJECT="ocfs2-tools" diff --git a/ocfs2console-libraries-include-aio.patch b/ocfs2console-libraries-include-aio.patch new file mode 100644 index 0000000..5810203 --- /dev/null +++ b/ocfs2console-libraries-include-aio.patch @@ -0,0 +1,13 @@ +Index: ocfs2-tools/ocfs2console/ocfs2interface/Makefile +=================================================================== +--- ocfs2-tools.orig/ocfs2console/ocfs2interface/Makefile 2012-08-24 10:02:19.000000000 -0500 ++++ ocfs2-tools/ocfs2console/ocfs2interface/Makefile 2013-04-24 12:06:35.115649501 -0500 +@@ -8,7 +8,7 @@ CFLAGS += -fPIC + + PYMOD_CFLAGS = -fno-strict-aliasing $(PYTHON_INCLUDES) + +-LIBOCFS2_LIBS = -L$(TOPDIR)/libocfs2 -locfs2 ++LIBOCFS2_LIBS = -L$(TOPDIR)/libocfs2 -locfs2 -laio + LIBOCFS2_DEPS = $(TOPDIR)/libocfs2/libocfs2.a + + LIBO2DLM_LIBS = -L$(TOPDIR)/libo2dlm -lo2dlm $(DL_LIBS)