From patchwork Fri Aug 15 00:27:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathaniel Roach X-Patchwork-Id: 380055 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id C739A1400DE for ; Fri, 15 Aug 2014 10:27:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 23B4A32982; Fri, 15 Aug 2014 00:27: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 NcYrqPt4h+zC; Fri, 15 Aug 2014 00:27:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 23F6930B35; Fri, 15 Aug 2014 00:27:25 +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 7115B1CEAEC for ; Fri, 15 Aug 2014 00:27:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6C43E30B35 for ; Fri, 15 Aug 2014 00:27:24 +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 hPQF5ZMM23RO for ; Fri, 15 Aug 2014 00:27:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by silver.osuosl.org (Postfix) with ESMTPS id 800632658E for ; Fri, 15 Aug 2014 00:27:20 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id lf10so2563611pab.30 for ; Thu, 14 Aug 2014 17:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FI9bmm0y8Pj3YRCCPbvFgRmkyOF95F3GgbJbk0Y4Lxs=; b=rbIdkvQnEMWHcPdtQIrGTvT5XM8RICZTdylZP0psNJQXEPi1x18iTD7K52vUN9CIzz X14A7NVZVFjZFA4zROfPPvTELvKcNyyQfG8bt9Rs/2KEvkPdnBbNQqbRmd7TITFn1RA8 zi7YTXX91hAnKhIoJJKScQNa7GT9PHB9haxC5vQNi/2GQPvMLAYPkFDitJOkel9ploRi 0fxQiqhOCPoJCdviXv3HW6fafmTY1tIpvSaOUvOS6ufin1/p0fFLRxVF6gjl8hBHTsBF SLb3ePRKtqRn9Z8LjUi92dB5VDRWk5OPmepo3hggVn3uy2ahIegdHd5y+b3tNK7ZQscv Gs7Q== X-Received: by 10.68.192.35 with SMTP id hd3mr7725653pbc.144.1408062439867; Thu, 14 Aug 2014 17:27:19 -0700 (PDT) Received: from arcturus.haven (eth3.bcb-curtin.wa.bigair.net.au. [125.253.99.60]) by mx.google.com with ESMTPSA id xk1sm22189697pac.21.2014.08.14.17.27.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Aug 2014 17:27:19 -0700 (PDT) From: Nathaniel Roach To: buildroot@buildroot.org Date: Fri, 15 Aug 2014 08:27:09 +0800 Message-Id: <1408062429-25594-1-git-send-email-nroach44@gmail.com> X-Mailer: git-send-email 2.0.1 Subject: [Buildroot] [PATCH v2] bandwidthd: incorporate fixes for autobuilders 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 "The build failures of bandwidthd observed in the autobuilders in relation to libpng are caused by the usage of -L/usr/lib -L/usr/local/lib in the compiler flags, which leads the configure script to try to link against a host libpng library." These issues are fixed by: * Version bump to -r08 "[patched] the configure.ac script to remove the hardcoded -L/usr/local/lib and -I/usr/local/include. The bandwidthd package -was already autoreconfigured, so there is no need to add it." * "Adding the --without-x option, which ensures that the configure.ac script will not add -L/usr/lib to the compiler flags (and we anyway haven't added any sort of X.org support to bandwidthd for the moment)." Both fixes by Thomas Petazzoni --- Changes v1 to v2 - Added details of the failure this patch fixes --- package/bandwidthd/bandwidthd.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/bandwidthd/bandwidthd.mk b/package/bandwidthd/bandwidthd.mk index 9b1eb32..3e11d6a 100644 --- a/package/bandwidthd/bandwidthd.mk +++ b/package/bandwidthd/bandwidthd.mk @@ -4,7 +4,7 @@ # ################################################################################ -BANDWIDTHD_VERSION = v2.0.1-auto-r07 +BANDWIDTHD_VERSION = v2.0.1-auto-r08 BANDWIDTHD_SITE = $(call github,nroach44,bandwidthd,$(BANDWIDTHD_VERSION)) # Specified as "any version of the GPL that is current as of your @@ -15,6 +15,8 @@ BANDWIDTHD_DEPENDENCIES = gd libpng libpcap BANDWIDTHD_AUTORECONF = YES +BANDWIDTHD_CONF_OPT += --without-x + ifeq ($(BR2_PACKAGE_BANDWIDTHD_POSTGRESQL),y) BANDWIDTHD_DEPENDENCIES += postgresql BANDWIDTHD_CONF_OPT += --with-postgresql-logging=true