summaryrefslogtreecommitdiff
path: root/package/corosync/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-10 03:52:51 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-10 03:52:51 +0200
commit65ba741b876bbb9ab0adc8a65107bc93b83a92b5 (patch)
tree0804c8803f7b5577eb9629c9b0cdb489fd5427e0 /package/corosync/patches
parent62eda65923410d85e9122f6454461e3064bef9d6 (diff)
update pacemaker and corosync, still broken
Diffstat (limited to 'package/corosync/patches')
-rw-r--r--package/corosync/patches/patch-Makefile_in11
-rw-r--r--package/corosync/patches/patch-common_lib_Makefile_in16
-rw-r--r--package/corosync/patches/patch-include_corosync_coroipc_ipc_h11
-rw-r--r--package/corosync/patches/patch-tools_corosync-keygen_c26
4 files changed, 16 insertions, 48 deletions
diff --git a/package/corosync/patches/patch-Makefile_in b/package/corosync/patches/patch-Makefile_in
deleted file mode 100644
index 38cf13b7c..000000000
--- a/package/corosync/patches/patch-Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- corosync-1.4.1.orig/Makefile.in 2011-07-26 10:13:38.000000000 +0200
-+++ corosync-1.4.1/Makefile.in 2011-10-12 06:02:03.291467847 +0200
-@@ -323,7 +323,7 @@ corosysconf_DATA = conf/corosync.conf.ex
- conf/corosync.conf.example.udpu
-
- SUBDIRS = include lcr lib exec services tools test pkgconfig \
-- man init conf
-+ init conf
-
- RPMBUILDOPTS = --define "_sourcedir $(abs_builddir)" \
- --define "_specdir $(abs_builddir)" \
diff --git a/package/corosync/patches/patch-common_lib_Makefile_in b/package/corosync/patches/patch-common_lib_Makefile_in
new file mode 100644
index 000000000..ec3eb70d7
--- /dev/null
+++ b/package/corosync/patches/patch-common_lib_Makefile_in
@@ -0,0 +1,16 @@
+--- corosync-2.0.1.orig/common_lib/Makefile.in 2012-05-22 08:52:57.000000000 +0200
++++ corosync-2.0.1/common_lib/Makefile.in 2012-08-01 10:17:04.000000000 +0200
+@@ -336,13 +336,6 @@ install-libLIBRARIES: $(lib_LIBRARIES)
+ $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; }
+ @$(POST_INSTALL)
+ @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
+- for p in $$list; do \
+- if test -f $$p; then \
+- $(am__strip_dir) \
+- echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \
+- ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \
+- else :; fi; \
+- done
+
+ uninstall-libLIBRARIES:
+ @$(NORMAL_UNINSTALL)
diff --git a/package/corosync/patches/patch-include_corosync_coroipc_ipc_h b/package/corosync/patches/patch-include_corosync_coroipc_ipc_h
deleted file mode 100644
index 82c9514b3..000000000
--- a/package/corosync/patches/patch-include_corosync_coroipc_ipc_h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/package/corosync/patches/patch-tools_corosync-keygen_c b/package/corosync/patches/patch-tools_corosync-keygen_c
deleted file mode 100644
index eecf92026..000000000
--- a/package/corosync/patches/patch-tools_corosync-keygen_c
+++ /dev/null
@@ -1,26 +0,0 @@
---- corosync-1.4.1.orig/tools/corosync-keygen.c 2011-07-26 10:08:43.000000000 +0200
-+++ corosync-1.4.1/tools/corosync-keygen.c 2011-10-04 21:03:05.000000000 +0200
-@@ -65,11 +65,11 @@ int main (void) {
- }
- }
-
-- printf ("Gathering %lu bits for key from /dev/random.\n", (unsigned long)(sizeof (key) * 8));
-+ printf ("Gathering %lu bits for key from /dev/urandom.\n", (unsigned long)(sizeof (key) * 8));
- printf ("Press keys on your keyboard to generate entropy.\n");
-- random_fd = open ("/dev/random", O_RDONLY);
-+ random_fd = open ("/dev/urandom", O_RDONLY);
- if (random_fd == -1) {
-- perror ("Is /dev/random present? Opening /dev/random");
-+ perror ("Is /dev/urandom present? Opening /dev/urandom");
- exit (errno);
- }
-
-@@ -81,7 +81,7 @@ int main (void) {
- retry_read:
- res = read (random_fd, &key[bytes_read], sizeof (key) - bytes_read);
- if (res == -1) {
-- perror ("Could not read /dev/random");
-+ perror ("Could not read /dev/urandom");
- exit (errno);
- }
- bytes_read += res;