From patchwork Tue Jan 30 21:06:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Bark X-Patchwork-Id: 867687 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=barkynet-com.20150623.gappssmtp.com header.i=@barkynet-com.20150623.gappssmtp.com header.b="E/yLiBCZ"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zWJp800R6z9sNw for ; Wed, 31 Jan 2018 08:06:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0187D883A6; Tue, 30 Jan 2018 21:06:21 +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 gctycncMNwHu; Tue, 30 Jan 2018 21:06:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2EC9688383; Tue, 30 Jan 2018 21:06:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6613D1C163D for ; Tue, 30 Jan 2018 21:06:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 627F988383 for ; Tue, 30 Jan 2018 21:06:19 +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 erj0YyR9maN0 for ; Tue, 30 Jan 2018 21:06:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DF2B188343 for ; Tue, 30 Jan 2018 21:06:17 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id v71so3887160wmv.2 for ; Tue, 30 Jan 2018 13:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barkynet-com.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=HBMsu+DEqZfH32WQOzPK0ZBEMA96F3aNqC+daVzJzug=; b=E/yLiBCZ9NmeY1YTsuIKBAoQMlY+HZnhtC/s3kA66YvqwDRqxfkEe76wETKrwNHtSq odalcqyeZ4bItBiuvE7UH5c4xihKrSJnnILwww8X+d2i6UOG9dXZnxyKuvop4i7nrC6F oI3ugQAqJ2pChktzPofGAYb2CkXOl7ihRez42IMfIYI6taA8ddJfEYuCWk1Rw/Q+wBVF L/cG9pTEboKFICDRFiCGV2ZJrjt4I1snevIsQlIxc0D9lj9rdFIqvZe5UjJ2KsBVhb9B sf4PJ2izdLj0XJ0uRKCPozfotR+n84Ir4qXtxeJTZSqOWndEcX7VLrb4atiAEC582CNi ArYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=HBMsu+DEqZfH32WQOzPK0ZBEMA96F3aNqC+daVzJzug=; b=So2/aM118Qq2PGqtXhpGpTS3et5LoZrLIoqcdAYRBF/pCQPUVaYOBCfDPkMKeY2Aco iomRNILK/lj3NJISFA1hSisExEwVONAbWTjlpO93mPcyKiat3+/r7qPOhwB89DdEGXVg dKRzuN7N9MDQee9PPKGF4ZLw6rz4RW6ROc1NRJ/BewGLTPF8994wnxJ6Wc3T8SiDm24J AYbZRoSEbvcqX2J/MmjKV6zz8KwqaATBk1iDXZSCdZY2UuP30w02+vK8l5cwMbnU3BMN GwWczoZxqn8MlganmViEW0w8RfyjSNOZYgBpMnoVMd/4v7wQyl45WGYr3x8QU19+BihP KMng== X-Gm-Message-State: AKwxytdNYBrFx1oIxVgO2A3piiAOrDTNjDW4p589T9mI1O2glwkWPj4L QORlZ38qqmLzKtkbviHwDra8GQ== X-Google-Smtp-Source: AH8x226Yu1lzHhob0CXXREoofE76yyMJ8BpR3Iy1qO4GVex19ktOzES2jIKjLHLfzWvryxYvP/ZE0Q== X-Received: by 10.28.10.6 with SMTP id 6mr20979048wmk.1.1517346376360; Tue, 30 Jan 2018 13:06:16 -0800 (PST) Received: from mail.home.barkynet.com (barkynet.plus.com. [80.229.219.126]) by smtp.gmail.com with ESMTPSA id i75sm11642222wmg.41.2018.01.30.13.06.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 13:06:15 -0800 (PST) Received: from krusty.home.barkynet.com (unknown [IPv6:fd01:1aa3:6b46:1:3285:a9ff:fe9f:5116]) by mail.home.barkynet.com (Postfix) with ESMTP id 459E037BC66; Tue, 30 Jan 2018 21:06:14 +0000 (GMT) Received: by krusty.home.barkynet.com (Postfix, from userid 10000) id 1A904C0D33; Tue, 30 Jan 2018 21:06:12 +0000 (GMT) From: Martin Bark To: buildroot@buildroot.org Date: Tue, 30 Jan 2018 21:06:09 +0000 Message-Id: <1517346369-1364-1-git-send-email-martin@barkynet.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] package/connman: fix compilation error for kernels >= 4.15 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Bark MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Include the upstream fix 0001-tethering-Reorder-header-includes.patch Fixes http://autobuild.buildroot.net/results/90005b436e25495a1113966112785278dfc0420a http://autobuild.buildroot.net/results/ab713048093746576734e90290b8777222d70e7e http://autobuild.buildroot.net/results/368c2c8ab9b8db7f445a9681082ce1e10c7e0151 http://autobuild.buildroot.net/results/1c98fd9ce430463e720212ce8a3698e2b72cbe7d http://autobuild.buildroot.net/results/bc865093e6ffec4737433c5a213c0241495e9ccc http://autobuild.buildroot.net/results/e4d93b136ef8aff600264d743191bf087044c27a http://autobuild.buildroot.net/results/a2feeeed4d0d11fda5f029f8c784ed6ce16ee856 Signed-off-by: Martin Bark --- .../0001-tethering-Reorder-header-includes.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/connman/0001-tethering-Reorder-header-includes.patch diff --git a/package/connman/0001-tethering-Reorder-header-includes.patch b/package/connman/0001-tethering-Reorder-header-includes.patch new file mode 100644 index 0000000..4955df1 --- /dev/null +++ b/package/connman/0001-tethering-Reorder-header-includes.patch @@ -0,0 +1,37 @@ +From bdfb3526466f8fb8f13d9259037d8f42c782ce24 Mon Sep 17 00:00:00 2001 +From: Daniel Wagner +Date: Wed, 17 Jan 2018 23:42:50 +0100 +Subject: [PATCH] tethering: Reorder header includes + +Avoid compile errors due to unsupported header include order with +newer kernels (>=4.15). We should import the libc header files first +and then the Linux header files in user space applications. + +Reported by Neil MacLeod . Fix probosal by Jonas +Bonn and Hauke Mehrtens . + +Signed-off-by: Martin Bark +--- + src/tethering.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/tethering.c b/src/tethering.c +index c929ba7..4b20236 100644 +--- a/src/tethering.c ++++ b/src/tethering.c +@@ -31,11 +31,11 @@ + #include + #include + #include +-#include + #include + #include +-#include + #include ++#include ++#include + #include + + #include "connman.h" +-- +2.7.4