From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B963138334 for ; Fri, 12 Apr 2019 19:33:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DCD9E088A; Fri, 12 Apr 2019 19:33:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6087BE088A for ; Fri, 12 Apr 2019 19:33:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D83E340E95 for ; Fri, 12 Apr 2019 19:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D633859F for ; Fri, 12 Apr 2019 19:33:03 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1555097552.fdfdf352dc37b123b50274d06f87c8d56e54138e.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/, net-wireless/iwd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/iwd/files/iwd-have_config_h-fix.patch net-wireless/iwd/iwd-0.16.ebuild X-VCS-Directories: net-wireless/iwd/ net-wireless/iwd/files/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: fdfdf352dc37b123b50274d06f87c8d56e54138e X-VCS-Branch: master Date: Fri, 12 Apr 2019 19:33:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 83dac00b-daba-4591-97a8-eac82cd8bee2 X-Archives-Hash: 60f61af85f92085a7c55a3331c9bcd1c commit: fdfdf352dc37b123b50274d06f87c8d56e54138e Author: Ben Kohler gentoo org> AuthorDate: Fri Apr 12 19:32:14 2019 +0000 Commit: Ben Kohler gentoo org> CommitDate: Fri Apr 12 19:32:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdfdf352 net-wireless/iwd: add upstream patch for bug 683198 Closes: https://bugs.gentoo.org/683198 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Ben Kohler gentoo.org> net-wireless/iwd/files/iwd-have_config_h-fix.patch | 140 +++++++++++++++++++++ net-wireless/iwd/iwd-0.16.ebuild | 2 + 2 files changed, 142 insertions(+) diff --git a/net-wireless/iwd/files/iwd-have_config_h-fix.patch b/net-wireless/iwd/files/iwd-have_config_h-fix.patch new file mode 100644 index 00000000000..45ad8655127 --- /dev/null +++ b/net-wireless/iwd/files/iwd-have_config_h-fix.patch @@ -0,0 +1,140 @@ +From 23041a44dd6c3fcaa18e5cb3f63140e3cb76d6b8 Mon Sep 17 00:00:00 2001 +From: Marcel Holtmann +Date: Thu, 4 Apr 2019 14:02:38 +0200 +Subject: build: Add missing HAVE_CONFIG_H guards and include config.h + +--- + plugins/ofono.c | 4 ++++ + plugins/sim_hardcoded.c | 5 +++++ + src/eap-mschapv2.c | 4 ++++ + src/nl80211util.c | 4 ++++ + src/plugin.c | 4 ++++ + src/sae.c | 4 ++++ + src/simauth.c | 4 ++++ + src/simutil.c | 4 ++++ + 8 files changed, 33 insertions(+) + +diff --git a/plugins/ofono.c b/plugins/ofono.c +index 077045ff..fc2561f6 100644 +--- a/plugins/ofono.c ++++ b/plugins/ofono.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + #include + #include +diff --git a/plugins/sim_hardcoded.c b/plugins/sim_hardcoded.c +index b5ea6b09..6e87f347 100644 +--- a/plugins/sim_hardcoded.c ++++ b/plugins/sim_hardcoded.c +@@ -19,6 +19,11 @@ + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ ++ ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + + #include +diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c +index 78404e22..e1f4ab5d 100644 +--- a/src/eap-mschapv2.c ++++ b/src/eap-mschapv2.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + #include + #include +diff --git a/src/nl80211util.c b/src/nl80211util.c +index 0d690e86..a9c3914a 100644 +--- a/src/nl80211util.c ++++ b/src/nl80211util.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + #include + +diff --git a/src/plugin.c b/src/plugin.c +index 2d96f657..a62fb033 100644 +--- a/src/plugin.c ++++ b/src/plugin.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + + #include +diff --git a/src/sae.c b/src/sae.c +index 782a3069..cab004bd 100644 +--- a/src/sae.c ++++ b/src/sae.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + + #include "src/util.h" +diff --git a/src/simauth.c b/src/simauth.c +index 5ed4dde7..4244304a 100644 +--- a/src/simauth.c ++++ b/src/simauth.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + #include + #include +diff --git a/src/simutil.c b/src/simutil.c +index 8de0645f..f0542c71 100644 +--- a/src/simutil.c ++++ b/src/simutil.c +@@ -20,6 +20,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ + #include + #include + #include +-- +cgit 1.2-0.3.lf.el7 + diff --git a/net-wireless/iwd/iwd-0.16.ebuild b/net-wireless/iwd/iwd-0.16.ebuild index 93969ee59cb..dac6f5ea824 100644 --- a/net-wireless/iwd/iwd-0.16.ebuild +++ b/net-wireless/iwd/iwd-0.16.ebuild @@ -19,6 +19,8 @@ LICENSE="GPL-2" SLOT="0" IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" +PATCHES=( "${FILESDIR}/iwd-have_config_h-fix.patch" ) + RDEPEND="sys-apps/dbus client? ( sys-libs/readline:0= )"