mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 00:22:44 +03:00
Merge pull request #291307 from trofi/sortmerna-gcc-13-fix
sortmerna: fix `gcc-13` build
This commit is contained in:
commit
c063b9b052
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace src/sortmerna/CMakeLists.txt \
|
substituteInPlace src/sortmerna/CMakeLists.txt \
|
||||||
--replace "target_link_libraries(sortmerna" \
|
--replace "target_link_libraries(sortmerna" \
|
||||||
"target_link_libraries(sortmerna Threads::Threads"
|
"target_link_libraries(sortmerna Threads::Threads"
|
||||||
|
|
||||||
|
# Fix gcc-13 build by adding missing <cstdint> includes:
|
||||||
|
# https://github.com/sortmerna/sortmerna/issues/412
|
||||||
|
sed -e '1i #include <cstdint>' -i include/kseq_load.hpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user