From patchwork Fri Nov 9 12:31:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Khryukin X-Patchwork-Id: 198126 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C2C3C2C00EC for ; Sat, 10 Nov 2012 03:31:13 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B25410B8E9; Fri, 9 Nov 2012 16:31:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYSapxu-0+97; Fri, 9 Nov 2012 16:31:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 38B64102A93; Fri, 9 Nov 2012 16:31:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 613978F74A for ; Fri, 9 Nov 2012 16:31:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 49CC78F48D for ; Fri, 9 Nov 2012 16:31:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aQptDfUY09Jj for ; Fri, 9 Nov 2012 16:31:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id F26478F489 for ; Fri, 9 Nov 2012 16:31:07 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id gf7so893638lbb.16 for ; Fri, 09 Nov 2012 08:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=HWaVsRIKCE0XIqEVST/DsjJbLitw8Rwv/sj6rkbCBEw=; b=J4n2VB6AZAaWKyY0RE5rTc0NAM3v816DPDnLJmxhx8r2qkpR1Y2ZFomLmbYsXyqTx/ YR24y7Il0IpbM+JYzYcCbdqhFYPdvFF6t9JFfy/o8Tog+SrMJetbudsx62s4k1zHdNik cdGI9SJHEFzC4r3dQDDnzgQHwwABXIJH154j4gbrloKK6mlwmBdbuFYZn+CLYH3nv/Kl efv2cEGePIBLTJeKb5vv5Hko4p/i0LZkQ0sFV90o9rdsxxCnRO8KIcGDo2e1P5ShSEyR ncoI+8sRq6KnypTNEfiDoy9PP1pzJwE7JnmWZOE/uwUwXYuANj6l1HY+yZpRe7+I9cSQ hoAg== Received: by 10.152.110.229 with SMTP id id5mr11059328lab.36.1352478665911; Fri, 09 Nov 2012 08:31:05 -0800 (PST) Received: from localhost.localdomain (gate-obit.mezon.ru. [37.77.135.198]) by mx.google.com with ESMTPS id f2sm10435023lbz.6.2012.11.09.08.31.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 08:31:05 -0800 (PST) From: Alexander Khryukin To: buildroot@busybox.net Date: Fri, 9 Nov 2012 16:31:06 +0400 Message-Id: <1352464266-22684-1-git-send-email-alexander@mezon.ru> X-Mailer: git-send-email 1.7.11.3 Subject: [Buildroot] [PATCH] gnutls-2.12.20-glibc-2.16.patch glibc-2.16 and gnutls2 fix i forgot my signoff X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Alexander Khryukin Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/gnutls/gnutls-2.12.20-glibc2.16.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/gnutls/gnutls-2.12.20-glibc2.16.patch diff --git a/package/gnutls/gnutls-2.12.20-glibc2.16.patch b/package/gnutls/gnutls-2.12.20-glibc2.16.patch new file mode 100644 index 0000000..6b7f545 --- /dev/null +++ b/package/gnutls/gnutls-2.12.20-glibc2.16.patch @@ -0,0 +1,26 @@ +--- gnutls-2.12.20/gl/stdio.in.h ++++ gnutls-2.12.20/gl/stdio.in.h +@@ -714,8 +714,10 @@ + /* 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. */ ++#ifdef HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif ++#endif + + + #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ +--- gnutls-2.12.20/lib/gl/stdio.in.h ++++ gnutls-2.12.20/lib/gl/stdio.in.h +@@ -714,8 +714,10 @@ + /* 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. */ ++#ifdef HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif ++#endif + + + #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@