From f8f73e267d96d5f1f775259cdcb434bc4ce8b110 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 28 Aug 2015 11:53:17 +0200 Subject: [PATCH] remove an obsolete patch. --- component/bison/bison-drop.gets.patch | 13 ---------- .../cyrus-sasl/cyrus-sasl-2.1.22-gcc44.patch | 24 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 component/bison/bison-drop.gets.patch delete mode 100644 component/cyrus-sasl/cyrus-sasl-2.1.22-gcc44.patch diff --git a/component/bison/bison-drop.gets.patch b/component/bison/bison-drop.gets.patch deleted file mode 100644 index 6861ef6fa..000000000 --- a/component/bison/bison-drop.gets.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur bison-2.5.orig/lib/stdio.in.h bison-2.5/lib/stdio.in.h ---- bison-2.5.orig/lib/stdio.in.h 2011-05-15 00:23:46.000000000 +0200 -+++ bison-2.5/lib/stdio.in.h 2012-07-23 16:30:56.366722487 +0200 -@@ -181,7 +181,9 @@ - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/component/cyrus-sasl/cyrus-sasl-2.1.22-gcc44.patch b/component/cyrus-sasl/cyrus-sasl-2.1.22-gcc44.patch deleted file mode 100644 index e2621278b..000000000 --- a/component/cyrus-sasl/cyrus-sasl-2.1.22-gcc44.patch +++ /dev/null @@ -1,24 +0,0 @@ -fix warnings with gcc-4.4 - -http://bugs.gentoo.org/248738 - ---- cyrus-sasl-2.1.22/plugins/digestmd5.c -+++ cyrus-sasl-2.1.22/plugins/digestmd5.c -@@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv - "DIGEST-MD5", /* mech_name */ - #ifdef WITH_RC4 - 128, /* max_ssf */ --#elif WITH_DES -+#elif defined(WITH_DES) - 112, - #else - 1, -@@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie - "DIGEST-MD5", - #ifdef WITH_RC4 /* mech_name */ - 128, /* max ssf */ --#elif WITH_DES -+#elif defined(WITH_DES) - 112, - #else - 1, -- 2.30.9