mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
Merge pull request #291307 from trofi/sortmerna-gcc-13-fix
sortmerna: fix `gcc-13` build
This commit is contained in:
commit
c063b9b052
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace src/sortmerna/CMakeLists.txt \
|
||||
--replace "target_link_libraries(sortmerna" \
|
||||
"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; {
|
||||
|
|
Loading…
Reference in a new issue