srsran: fix UHD with lastest boost compilation

This commit is contained in:
Anton Bolshakov 2026-05-05 11:06:44 +08:00
parent 3a54071521
commit cad8369f91
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 7 additions and 2 deletions

View file

@ -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' \

View file

@ -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' \