--- /dev/null
+--- acct-6.5.5/lib/stdio.in.h~ 2013-02-16 23:00:04.119332820 +0100
++++ acct-6.5.5/lib/stdio.in.h 2013-02-16 23:02:00.196823604 +0100
+@@ -453,8 +453,10 @@
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
++#ifdef gets
+ #undef gets
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+
+ #if 0
+ # if 0
Source4: acct.sysconfig
Patch0: acct-info.patch
Patch1: %{name}-path.patch
+Patch2: %{name}-build.patch
URL: http://www.gnu.org/directory/GNU/acct.html
BuildRequires: autoconf >= 2.63
BuildRequires: automake
%setup -q -n acct-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}