[packages/ftb] Rel 3
arekm
arekm at pld-linux.org
Fri May 22 20:06:00 CEST 2026
commit fc381a8688985f7aa4fad07c95c2f94f925bbac2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 22 20:05:42 2026 +0200
Rel 3
ftb-pthread-sig.patch | 11 +++++++++++
ftb.spec | 8 ++++++--
2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/ftb.spec b/ftb.spec
index c395108..c178af9 100644
--- a/ftb.spec
+++ b/ftb.spec
@@ -2,13 +2,14 @@ Summary: Fault Tolerance Backplance library
Summary(pl.UTF-8): Biblioteka Fault Tolerance Backplance
Name: ftb
Version: 0.6.2
-Release: 2
+Release: 3
License: BSD
Group: Libraries
#Source0Download: http://www.mcs.anl.gov/research/cifts/downloads/index.php
Source0: http://www.mcs.anl.gov/research/cifts/software/%{name}-%{version}.tgz
# Source0-md5: d79b3dbcfdbfadb372cd4e47811d3048
Patch0: %{name}-destdir.patch
+Patch1: %{name}-pthread-sig.patch
URL: http://www.mcs.anl.gov/research/cifts/
BuildRequires: autoconf >= 2.59
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,13 +47,16 @@ Statyczna biblioteka FTB.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__autoconf}
%{__autoheader}
%configure
-%{__make}
+%{__make} \
+ CC="%{__cc} %{rpmldflags}" \
+ CFLAGS_FTB="-Wall -fPIC -I\${INC_DIR} %{rpmcflags} %{rpmcppflags}"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/ftb-pthread-sig.patch b/ftb-pthread-sig.patch
new file mode 100644
index 0000000..e14eb55
--- /dev/null
+++ b/ftb-pthread-sig.patch
@@ -0,0 +1,11 @@
+--- ftb-0.6.2/src/agent/ftb_agent.c.orig 2010-08-14 00:00:00.000000000 +0200
++++ ftb-0.6.2/src/agent/ftb_agent.c 2026-05-21 00:00:00.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ FILE *FTBU_log_file_fp;
+
+-void *progress_loop()
++void *progress_loop(void *arg)
+ {
+ FTBM_msg_t msg;
+ FTBM_msg_t msg_send;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ftb.git/commitdiff/fc381a8688985f7aa4fad07c95c2f94f925bbac2
More information about the pld-cvs-commit
mailing list