From daba08f857979ba6efb7034759e29182c4d4b367 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 13 Feb 2018 08:58:50 +0000 Subject: [PATCH] Modify build to use libtirpc instead of xdr functions from glibc. --- watchdog.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/watchdog.spec b/watchdog.spec index 92bcbb3..35e97f3 100644 --- a/watchdog.spec +++ b/watchdog.spec @@ -15,6 +15,7 @@ Source5: watchdog-ping.service Patch3: 0003-watchdog-5.13-rhsel.patch Patch4: 0004-watchdog-5.13-rhseldoc.patch +BuildRequires: libtirpc-devel BuildRequires: systemd-units Requires(post): systemd @@ -55,7 +56,9 @@ iconv -f ISO-8859-1 -t UTF-8 < README.orig > README %build -%configure +%configure \ + CFLAGS="%{__global_cflags} -I/usr/include/tirpc" \ + LDFLAGS="%{__global_ldflags} -ltirpc" make %{?_smp_mflags} @@ -118,6 +121,7 @@ install -Dd -m0755 ${RPM_BUILD_ROOT}%{_libexecdir}/watchdog/scripts * Tue Feb 13 2018 Richard W.M. Jones - 5.15-1 - Rebase to watchdog 5.15. - Remove upstream patches. +- Modify code to use libtirpc. * Fri Feb 09 2018 Fedora Release Engineering - 5.13-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild