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)