diff options
-rw-r--r-- | extra/cpio/PKGBUILD | 1 | ||||
-rw-r--r-- | extra/cpio/gets.patch | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/extra/cpio/PKGBUILD b/extra/cpio/PKGBUILD index b0bd7679b..d635193cc 100644 --- a/extra/cpio/PKGBUILD +++ b/extra/cpio/PKGBUILD @@ -19,7 +19,6 @@ prepare() { build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 -i "$srcdir/gets.patch" ./configure --prefix=/usr --mandir=/usr/share/man make } diff --git a/extra/cpio/gets.patch b/extra/cpio/gets.patch deleted file mode 100644 index 0203b645e..000000000 --- a/extra/cpio/gets.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ru cpio-2.11.orig/gnu/stdio.in.h cpio-2.11/gnu/stdio.in.h ---- cpio-2.11.orig/gnu/stdio.in.h 2012-12-22 22:48:06.596855514 +0100 -+++ cpio-2.11/gnu/stdio.in.h 2012-12-22 22:49:21.496002937 +0100 -@@ -135,12 +135,6 @@ - "use gnulib module fflush for portable POSIX compliance"); - #endif - --/* 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. */ --#undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -- - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |