summaryrefslogtreecommitdiff
path: root/package/corosync
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
commitbf89ff6c79e76b23d153cead09754e68dbe59983 (patch)
tree229463616389a8e00c8fc33576987d86ac2bba85 /package/corosync
parentac01f0d24321933d3456190164f5b68ccc94976a (diff)
more 2.6.39 fixes
Diffstat (limited to 'package/corosync')
-rw-r--r--package/corosync/patches/patch-Makefile_in11
-rw-r--r--package/corosync/patches/patch-include_corosync_coroipc_ipc_h11
2 files changed, 22 insertions, 0 deletions
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