packages: corosync/corosync.spec, corosync/corosync-makefile.patch (NEW) - ...

alucard alucard at pld-linux.org
Fri Apr 22 17:01:13 CEST 2011


Author: alucard                      Date: Fri Apr 22 15:01:14 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed libtotem_pg unresolved symbols, thanks to sparky
- release 1

---- Files affected:
packages/corosync:
   corosync.spec (1.15 -> 1.16) , corosync-makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/corosync/corosync.spec
diff -u packages/corosync/corosync.spec:1.15 packages/corosync/corosync.spec:1.16
--- packages/corosync/corosync.spec:1.15	Fri Apr 22 16:32:11 2011
+++ packages/corosync/corosync.spec	Fri Apr 22 17:01:06 2011
@@ -13,6 +13,7 @@
 Group:		Base
 Source0:	ftp://ftp:downloads@corosync.org/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	66a527d668b0f908db89be26c83ca7d6
+Patch0:		%{name}-makefile.patch
 URL:		http://www.corosync.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
@@ -26,10 +27,6 @@
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# "Unresolved symbols found: clock_gettime" however -lrt is properly
-# passed (or seems to me - alucard), corosync works well anyway
-%define		skip_post_check_so	libtotem_pg.so.4.0.0
-
 %description
 The Corosync Cluster Engine is an OSI Certified implementation of a
 complete cluster engine.
@@ -80,6 +77,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -236,6 +234,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2011/04/22 15:01:06  alucard
+- fixed libtotem_pg unresolved symbols, thanks to sparky
+- release 1
+
 Revision 1.15  2011/04/22 14:32:11  alucard
 - added explanation to skip_post_check_so
 

================================================================
Index: packages/corosync/corosync-makefile.patch
diff -u /dev/null packages/corosync/corosync-makefile.patch:1.1
--- /dev/null	Fri Apr 22 17:01:14 2011
+++ packages/corosync/corosync-makefile.patch	Fri Apr 22 17:01:06 2011
@@ -0,0 +1,11 @@
+--- corosync-1.3.0/exec/Makefile.am.orig	2011-04-22 12:56:16.220007990 +0000
++++ corosync-1.3.0/exec/Makefile.am	2011-04-22 12:57:07.016674021 +0000
+@@ -125,7 +125,7 @@ else
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(COVERAGE_LCRSO_EXTRA_LDFLAGS) -shared -Wl,-soname=$@ $^ -o $@
+ 
+ libtotem_pg.so.$(SONAME): $(TOTEM_OBJS)
+-	$(CC) -shared -o $@ \
++	$(CC) -shared -o $@ $(LIBS) \
+ 		-Wl,-soname=libtotem_pg.so.$(SOMAJOR) \
+ 		$(LDFLAGS) $^ $(nss_LIBS) $(rdmacm_LIBS) $(ibverbs_LIBS) -lpthread
+ 	ln -sf libtotem_pg.so.$(SONAME) libtotem_pg.so
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/corosync/corosync.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list