commit:     899128a1dfe2c21fa99d28d542fb4a97a6fc81a1
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 23 17:40:20 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sat Feb 23 17:40:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899128a1

net-wireless/iwd: revbump to add -fsigned-char

Upstream recommends this compiler option and is default-enabling it when
CFLAGS is unset.  This commit will keep it enabled even when we set
CFLAGS.  This fixes a test on ppc (and maybe other arches).

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-wireless/iwd/{iwd-9999.ebuild => iwd-0.14-r1.ebuild} | 12 ++++--------
 net-wireless/iwd/iwd-9999.ebuild                         |  3 ++-
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/net-wireless/iwd/iwd-9999.ebuild 
b/net-wireless/iwd/iwd-0.14-r1.ebuild
similarity index 88%
copy from net-wireless/iwd/iwd-9999.ebuild
copy to net-wireless/iwd/iwd-0.14-r1.ebuild
index 542d347128b..bf525992339 100644
--- a/net-wireless/iwd/iwd-9999.ebuild
+++ b/net-wireless/iwd/iwd-0.14-r1.ebuild
@@ -2,14 +2,14 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools linux-info systemd
+inherit autotools flag-o-matic linux-info systemd
 
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git";
        inherit git-r3
 else
        SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz";
-       KEYWORDS="~amd64 ~x86"
+       KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86"
 fi
 
 DESCRIPTION="Wireless daemon for linux"
@@ -66,10 +66,6 @@ pkg_pretend() {
                WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for 
increased performance"
        fi
 
-       if use kernel_linux && kernel_is -ge 4 20; then
-               CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
-       fi
-
        check_extra_config
 }
 
@@ -88,14 +84,14 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags "-fsigned-char"
        econf --sysconfdir=/etc/iwd --localstatedir=/var \
                $(use_enable client) \
                $(use_enable monitor) \
                $(use_enable ofono) \
                $(use_enable wired) \
                --enable-systemd-service \
-               --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
-               --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir 
/usr/lib/modules-load.d)
+               --with-systemd-unitdir="$(systemd_get_systemunitdir)"
 }
 
 src_install() {

diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
index 542d347128b..b037416528c 100644
--- a/net-wireless/iwd/iwd-9999.ebuild
+++ b/net-wireless/iwd/iwd-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools linux-info systemd
+inherit autotools flag-o-matic linux-info systemd
 
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git";
@@ -88,6 +88,7 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags "-fsigned-char"
        econf --sysconfdir=/etc/iwd --localstatedir=/var \
                $(use_enable client) \
                $(use_enable monitor) \

Reply via email to