diff --git a/openscap-stdio.h.patch b/openscap-stdio.h.patch deleted file mode 100644 index 8e38fac..0000000 --- a/openscap-stdio.h.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: openscap-0.8.2/lib/stdio.in.h -=================================================================== ---- openscap-0.8.2.orig/lib/stdio.in.h -+++ openscap-0.8.2/lib/stdio.in.h -@@ -733,7 +733,9 @@ _GL_CXXALIASWARN (gets); - /* 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. */ -+# if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+# endif - #endif - - diff --git a/openscap.spec b/openscap.spec index e19907b..7265f16 100644 --- a/openscap.spec +++ b/openscap.spec @@ -25,7 +25,6 @@ Release: 1.0 Source: http://www.open-scap.org/download/%name-%version.tar.gz Source1: oscap-scan.init Source2: sysconfig.oscap-scan -Patch1: openscap-stdio.h.patch Url: http://www.open-scap.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libacl-devel @@ -139,7 +138,6 @@ commonly used and require additional dependencies. %prep %setup -q -%patch1 -p1 %build