From patchwork Tue May 12 01:48:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Martynov X-Patchwork-Id: 471095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2A43314007F for ; Tue, 12 May 2015 11:50:52 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=AOxGutue; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8FA3F280621; Tue, 12 May 2015 03:49:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 7990D280621 for ; Tue, 12 May 2015 03:48:27 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 12 May 2015 03:48:27 +0200 (CEST) Received: by igbyr2 with SMTP id yr2so88832145igb.0 for ; Mon, 11 May 2015 18:49:40 -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=vnKE7rRHiAyNq/0DY+MmFX7ZcsZd46uq5HQIshL/Xqc=; b=AOxGutueRvqcPPD6nbQA/VVRS6ZnbMgps+2fsgGakusaMJKFGsG5QH3KtqG+aNKlOp lT+syjS8cm6XPIbLmMSKlBxrQ+T8d9RHvarUAfh5ntftM+kO9xeJB8PzFR46e3AG3zf9 BdxDHv3ANyU6efFrv6h9zFL5blLg6w+PJ0+9P1Xt14P6PT6COviqgaGo0Blk4Je+lnov p4/5TpPyV/M5oE+8FWQKj7DYT9qJ+fra4XPgPKQyX6/r3oyX84lFeQCejVo3wG1OmAWX RSWs1Q+krDNjhVaNZa70TeRIO/xof8u2NFi/ja+FeuXUzznRYtPcYZW5Z4FLzkaKn2Be rwdA== X-Received: by 10.43.162.136 with SMTP id mk8mr479575icc.28.1431395380207; Mon, 11 May 2015 18:49:40 -0700 (PDT) Received: from kolya-laptop.shuttercorp.net (dhcp-108-170-142-143.cable.user.start.ca. [108.170.142.143]) by mx.google.com with ESMTPSA id d8sm287801igl.19.2015.05.11.18.49.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 May 2015 18:49:39 -0700 (PDT) From: Nikolay Martynov To: openwrt-devel@lists.openwrt.org Date: Mon, 11 May 2015 21:48:35 -0400 Message-Id: <1431395315-25301-1-git-send-email-mar.kolya@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Make sure brctl build uses appropriate defines (_FILE_OFFSET_BITS) that match uClibc settings. Without this patch running brctl leads to 'unresolved alphasort symbol' message. Signed-off-by: Nikolay Martynov --- net/bridge-utils/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bridge-utils/Makefile b/net/bridge-utils/Makefile index ad95b87..10e44c5 100644 --- a/net/bridge-utils/Makefile +++ b/net/bridge-utils/Makefile @@ -30,6 +30,8 @@ define Package/bridge/description form a larger network. endef +TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE + CONFIGURE_ARGS += \ --with-linux-headers="$(LINUX_DIR)" \