]> git.pld-linux.org Git - packages/corosync.git/commitdiff
- fixed libtotem_pg unresolved symbols, thanks to sparky
authoralucard <alucard@pld-linux.org>
Fri, 22 Apr 2011 15:01:06 +0000 (15:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 1

Changed files:
    corosync-makefile.patch -> 1.1
    corosync.spec -> 1.16

corosync-makefile.patch [new file with mode: 0644]
corosync.spec

diff --git a/corosync-makefile.patch b/corosync-makefile.patch
new file mode 100644 (file)
index 0000000..7f4bd04
--- /dev/null
@@ -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
index aec0cf4234e40f4f52986b5793fc7b6ea2d382ac..b88e9379d07e5cecda0adb5b93c20b6f54b61701 100644 (file)
@@ -12,6 +12,7 @@ License:      BSD
 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
@@ -25,10 +26,6 @@ BuildRequires:       pkgconfig
 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.
@@ -79,6 +76,7 @@ Ten pakiet zawiera statyczne biblioteki Corosync.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.129335 seconds and 4 git commands to generate.