From a51b3c4acfc8b2f659ad0dc6ac655b1381bef757 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Fri, 19 Apr 2013 18:26:29 +0200 Subject: Remove obsolete m4 patch. --- core/m4/PKGBUILD | 3 +-- core/m4/gnulib-no-gets.patch | 16 ---------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 core/m4/gnulib-no-gets.patch (limited to 'core/m4') diff --git a/core/m4/PKGBUILD b/core/m4/PKGBUILD index d4a9da421..9e04d8a46 100644 --- a/core/m4/PKGBUILD +++ b/core/m4/PKGBUILD @@ -13,8 +13,7 @@ groups=('base-devel') depends=('glibc' 'bash') install=m4.install source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig} - m4-1.4.16-readlink-einval.patch - gnulib-no-gets.patch) + m4-1.4.16-readlink-einval.patch) md5sums=('7548ec061a1ba993790159764f522d0e' 'SKIP' 'cea138fa9b568d06e46269611cec8dd0') diff --git a/core/m4/gnulib-no-gets.patch b/core/m4/gnulib-no-gets.patch deleted file mode 100644 index c26c4ac6f..000000000 --- a/core/m4/gnulib-no-gets.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ru m4-1.4.16.orig/lib/stdio.in.h m4-1.4.16/lib/stdio.in.h ---- m4-1.4.16.orig/lib/stdio.in.h 2012-10-21 21:47:45.261174075 +0200 -+++ m4-1.4.16/lib/stdio.in.h 2012-10-21 21:48:14.728646610 +0200 -@@ -158,12 +158,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) -- cgit v1.2.3-54-g00ecf