From bf89ff6c79e76b23d153cead09754e68dbe59983 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 26 Jun 2011 20:10:44 +0200 Subject: more 2.6.39 fixes --- package/corosync/patches/patch-Makefile_in | 11 +++++++++++ package/corosync/patches/patch-include_corosync_coroipc_ipc_h | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 package/corosync/patches/patch-Makefile_in create mode 100644 package/corosync/patches/patch-include_corosync_coroipc_ipc_h (limited to 'package/corosync') diff --git a/package/corosync/patches/patch-Makefile_in b/package/corosync/patches/patch-Makefile_in new file mode 100644 index 000000000..4fc1ef74a --- /dev/null +++ b/package/corosync/patches/patch-Makefile_in @@ -0,0 +1,11 @@ +--- corosync-1.3.1.orig/Makefile.in 2011-04-25 04:39:52.000000000 +0200 ++++ corosync-1.3.1/Makefile.in 2011-06-25 21:58:51.012672595 +0200 +@@ -320,7 +320,7 @@ corosysconf_DATA = conf/corosync.conf.ex + conf/corosync.conf.example.udpu + + SUBDIRS = include lcr lib exec services tools test pkgconfig \ +- man init ++ init + + RPMBUILDOPTS = --define "_sourcedir $(abs_builddir)" \ + --define "_specdir $(abs_builddir)" \ diff --git a/package/corosync/patches/patch-include_corosync_coroipc_ipc_h b/package/corosync/patches/patch-include_corosync_coroipc_ipc_h new file mode 100644 index 000000000..82c9514b3 --- /dev/null +++ b/package/corosync/patches/patch-include_corosync_coroipc_ipc_h @@ -0,0 +1,11 @@ +--- corosync-1.3.1.orig/include/corosync/coroipc_ipc.h 2011-04-25 04:37:30.000000000 +0200 ++++ corosync-1.3.1/include/corosync/coroipc_ipc.h 2011-06-26 18:49:29.245183024 +0200 +@@ -44,7 +44,7 @@ + * Darwin claims to support process shared synchronization + * but it really does not. The unistd.h header file is wrong. + */ +-#if defined(COROSYNC_DARWIN) || defined(__UCLIBC__) ++#if defined(COROSYNC_DARWIN) + #undef _POSIX_THREAD_PROCESS_SHARED + #define _POSIX_THREAD_PROCESS_SHARED -1 + #endif -- cgit v1.2.3