From 2fcd03c291898d7f581f5e8f74788e9c2d5867f8 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Tue, 28 Aug 2012 17:25:40 +0200 Subject: [PATCH] Fixing the build (new glibc) - 'gets' undeclared --- psacct.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/psacct.spec b/psacct.spec index b4706ed..ebdc5b2 100644 --- a/psacct.spec +++ b/psacct.spec @@ -47,8 +47,12 @@ commands. %patch3 -p1 -b .new %patch4 -p1 -b .direntry +# fixing 'gets' undeclared +sed -i 's|.*(gets,.*||g' lib/stdio.in.h + %build %configure --enable-linux-multiformat + make %install @@ -131,8 +135,9 @@ fi %{_infodir}/accounting.info.gz %changelog -* Mon Aug 27 2012 Jaromir Capik - 6.5.5-7 +* Tue Aug 28 2012 Jaromir Capik - 6.5.5-7 - Migration to new systemd scriptlet macros +- Fixing the build (new glibc) - 'gets' undeclared * Sat Jul 21 2012 Fedora Release Engineering - 6.5.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild