mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
srsran: fix UHD with lastest boost compilation
This commit is contained in:
parent
3a54071521
commit
cad8369f91
2 changed files with 7 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ if [[ "${PV}" == "9999" ]]; then
|
|||
EGIT_REPO_URI="https://github.com/srsran/srsRAN_4G.git"
|
||||
else
|
||||
inherit vcs-snapshot
|
||||
#FIXME: remove temporary, so it could merge
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
MY_PV=${PV//./_}
|
||||
SRC_URI="https://github.com/srsran/srsRAN_4G/archive/refs/tags/release_${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
|
@ -50,6 +49,9 @@ BDEPEND="virtual/pkgconfig"
|
|||
|
||||
src_prepare() {
|
||||
sed -i '/ -Werror"/d' CMakeLists.txt || die
|
||||
# Boost::system was removed as a compiled component in Boost 1.69+ (header-only)
|
||||
# and no longer exists in Boost 1.78+; drop the obsolete UHD workaround
|
||||
sed -i '/list(APPEND BOOST_REQUIRED_COMPONENTS "system")/d' CMakeLists.txt || die
|
||||
#break upstream hijacking of cflags
|
||||
sed -i \
|
||||
-e 's/"GNU"/"NERF"/g' \
|
||||
|
|
|
|||
|
|
@ -49,6 +49,9 @@ BDEPEND="virtual/pkgconfig"
|
|||
|
||||
src_prepare() {
|
||||
sed -i '/ -Werror"/d' CMakeLists.txt || die
|
||||
# Boost::system was removed as a compiled component in Boost 1.69+ (header-only)
|
||||
# and no longer exists in Boost 1.78+; drop the obsolete UHD workaround
|
||||
sed -i '/list(APPEND BOOST_REQUIRED_COMPONENTS "system")/d' CMakeLists.txt || die
|
||||
#break upstream hijacking of cflags
|
||||
sed -i \
|
||||
-e 's/"GNU"/"NERF"/g' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue