Diff lshw-02.19.2b_p20210121-r4 with a lshw-02.19.2b_p20220831
/usr/portage/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild 2023-10-09 14:52:35.388368499 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
PLOCALES='fr' |
|
6 |
PLOCALES="ca es fr" |
|
7 | 7 | |
8 | 8 |
inherit desktop flag-o-matic plocale toolchain-funcs xdg |
9 | 9 | |
10 |
MY_COMMIT="fdab06ac0b190ea0aa02cd468f904ed69ce0d9f1" |
|
10 |
MY_COMMIT=42fef565731411a784101de614a54bff79d1858e |
|
11 | 11 |
MY_PV=$(ver_cut 3 PV/b/B).$(ver_cut 1-3)_$(ver_cut 5-6) |
12 | 12 | |
13 | 13 |
DESCRIPTION="Hardware Lister" |
... | ... | |
65 | 65 |
src_compile() { |
66 | 66 |
tc-export CC CXX AR PKG_CONFIG |
67 | 67 |
use static && append-ldflags -static |
68 |
# Some toolchains are defaulting to C++17, which causes |
|
69 |
# `<sys-apps/lshw-02.19.2b_p20220831` to break due to its use of the |
|
70 |
# `register` keyword. Just pin it at 14, since future versions don't |
|
71 |
# have this issue. |
|
72 |
append-cxxflags '-std=c++14' |
|
73 | 68 | |
74 | 69 |
# Need two sep make statements to avoid parallel build issues. #588174 |
75 | 70 |
local sqlite=$(usex sqlite 1 0) |