From patchwork Fri Jan 9 12:36:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Suykov X-Patchwork-Id: 427060 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 9518914018C for ; Fri, 9 Jan 2015 23:39:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A6CE68703B; Fri, 9 Jan 2015 12:39:32 +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 m-ocRGM2g9uc; Fri, 9 Jan 2015 12:39:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5C71E862F5; Fri, 9 Jan 2015 12:39:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6491E1C2357 for ; Fri, 9 Jan 2015 12:39:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5EB2D32EB7 for ; Fri, 9 Jan 2015 12:39:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c5oDkf2AZ63y for ; Fri, 9 Jan 2015 12:39:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by silver.osuosl.org (Postfix) with ESMTPS id D1EA632EB2 for ; Fri, 9 Jan 2015 12:39:26 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id hz20so14246535lab.6 for ; Fri, 09 Jan 2015 04:39:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=XOb6wAWXNr5EQxNBikH+eMTxbOFBHKz9kUmuyNr6gfE=; b=YuMc0eEmxrSrzqh4M7wz1bTcgiXTAg8Bp0+LIlZcEtEDYtl8Ha/QYsb9wt9Iz5/Pv0 zdTI0N3zQ4c09W3LJnJuojkzktLezheLHMKYWbEq0dZYDMo7BcaZTkwPrc5aER+QFy8H eU+tXkKc87c5egdTFwb7NuUf8x7nOxk8Bw/O4EOPtvj2yQi7GGvudTHSmGVAMJdFC2jA Tac/Yf/FGPZiYpveAh8eeO1V1CaF+wj0TF+xA4nE7V+FZZRf8Qm/sM7NUpjTzYQMGTXk erY/w2AbnCd5S0sT2bL98Q3HB2CVP47vE7WtUPr1WnJwDfvhPtz2xjrqdI19WBxlu7Ml znhQ== X-Received: by 10.112.78.39 with SMTP id y7mr21736008lbw.42.1420807164977; Fri, 09 Jan 2015 04:39:24 -0800 (PST) Received: from localhost ([188.163.76.53]) by mx.google.com with ESMTPSA id wv5sm1847532lbb.20.2015.01.09.04.39.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jan 2015 04:39:24 -0800 (PST) Date: Fri, 9 Jan 2015 14:36:45 +0200 From: Alex Suykov To: buildroot@uclibc.org Message-ID: <20150109123645.GA23533@vostro> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [Buildroot] [PATCH] dillo: avoid poisoned paths in configure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/10f/10f7ba386a13753c942139b8bc13ca74d8932f3a/ Signed-off-by: Alex Suykov --- package/dillo/0002-usr-local-include.patch | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/dillo/0002-usr-local-include.patch diff --git a/package/dillo/0002-usr-local-include.patch b/package/dillo/0002-usr-local-include.patch new file mode 100644 index 0000000..eb27742 --- /dev/null +++ b/package/dillo/0002-usr-local-include.patch @@ -0,0 +1,41 @@ +Do not add (possibly poisoned) /usr/local/include and /usr/local/lib +to gcc and ld search paths in configure. + +With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result +in hard errors, failing affected configure tests. + +Signed-off-by: Alex Suykov + +--- a/configure ++++ b/configure +@@ -5543,11 +5543,6 @@ + esac + + +-if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- + for ac_func in gethostbyname + do : + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +--- a/configure.ac ++++ b/configure.ac +@@ -57,16 +57,6 @@ + AC_TYPE_INT32_T + AC_TYPE_UINT32_T + +-dnl -------------------------------------- +-dnl Check whether to add /usr/local or not +-dnl (this is somewhat a religious problem) +-dnl -------------------------------------- +-dnl +-if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- + dnl ------------------------------------ + dnl Check for socket libs (AIX, Solaris) + dnl ------------------------------------