From: Michael Mair-Keimberger (asterix) Date: Fri, 1 Jul 2016 19:54:01 +0000 (+0200) Subject: app-arch/gzip: remove unused patches X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a6cce2167802403319e251f7c3ff32aac645596d;p=gentoo.git app-arch/gzip: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/1812 Signed-off-by: Patrice Clement --- diff --git a/app-arch/gzip/files/gzip-1.4-assembler.patch b/app-arch/gzip/files/gzip-1.4-assembler.patch deleted file mode 100644 index 76aade5c9341..000000000000 --- a/app-arch/gzip/files/gzip-1.4-assembler.patch +++ /dev/null @@ -1,52 +0,0 @@ -http://bugs.gentoo.org/309079 -http://lists.gnu.org/archive/html/bug-gzip/2010-02/msg00032.html - -From 61af16213a488af3a8e994399ebd0859d390edb6 Mon Sep 17 00:00:00 2001 -From: Jim Meyering -Date: Sat, 20 Mar 2010 13:05:58 +0100 -Subject: [PATCH] use assembly code matcher when possible - -* configure.ac (ASCPPPOST): Backslash-escape "#" in AC_SUBST'd -variable, to keep make from seeing it as a comment-introducer. -Based on a patch by Petr Pisar. -* lib/Makefile.am (match.$(OBJEXT)): Use AM_V_GEN and AM_V_at. -* lib/match.c: Don't include . -It would impede configure-time assembler test. -* .x-sc_require_config_h: Exempt lib/match.c from syntax-check. -* .x-sc_require_config_h_first: Likewise. ---- - .x-sc_require_config_h | 1 + - .x-sc_require_config_h_first | 1 + - THANKS | 1 + - configure.ac | 2 +- - lib/Makefile.am | 12 ++++++------ - lib/match.c | 2 -- - 6 files changed, 10 insertions(+), 9 deletions(-) - create mode 100644 .x-sc_require_config_h - create mode 100644 .x-sc_require_config_h_first - ---- a/configure -+++ b/configure -@@ -22588,5 +22588,5 @@ - - # cc -E produces incorrect asm files on SVR4, so postprocess it. --ASCPPPOST="sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" -+ASCPPPOST="sed '/^ *\\#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" - - -diff --git a/lib/match.c b/lib/match.c -index 4ef6128..5dd8d64 100644 ---- a/lib/match.c -+++ b/lib/match.c -@@ -28,8 +28,6 @@ - * David Mosberger-Tang . - */ - --#include -- - /* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix - * external symbols with an underline character '_'. - */ --- -1.7.1.1 - diff --git a/app-arch/gzip/files/gzip-1.4-no-gets.patch b/app-arch/gzip/files/gzip-1.4-no-gets.patch deleted file mode 100644 index 6da6e64bb7fd..000000000000 --- a/app-arch/gzip/files/gzip-1.4-no-gets.patch +++ /dev/null @@ -1,22 +0,0 @@ -hack until gzip pulls a newer gnulib version - -From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 -From: Eric Blake -Date: Thu, 29 Mar 2012 13:30:41 -0600 -Subject: [PATCH] stdio: don't assume gets any more - -Gnulib intentionally does not have a gets module, and now that C11 -and glibc have dropped it, we should be more proactive about warning -any user on a platform that still has a declaration of this dangerous -interface. - ---- a/lib/stdio.in.h -+++ b/lib/stdio.in.h -@@ -125,7 +125,6 @@ - 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@