summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-19 18:26:29 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-19 18:26:29 +0200
commita51b3c4acfc8b2f659ad0dc6ac655b1381bef757 (patch)
tree20f61b48961f629ef9293cdf0ce0a20d3f09eeb2
parentd186e96728bff4cc4873c59d48d01fe6eefe6131 (diff)
Remove obsolete m4 patch.
-rw-r--r--core/m4/PKGBUILD3
-rw-r--r--core/m4/gnulib-no-gets.patch16
2 files changed, 1 insertions, 18 deletions
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)