mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: freesasa: Fix build with newer gemmi.
* gnu/packages/chemistry.scm (freesasa)[arguments]: Add 'fix-new-gemmi phase. Change-Id: I78997047eba8245a2d275af5ab18d0d0fe48630f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
c3e59b2ffa
commit
d8d9e51a1f
1 changed files with 6 additions and 0 deletions
|
|
@ -1136,6 +1136,12 @@ It can be used for working with
|
|||
(string-append "AM_PROG_LIBTOOL\n" inst)))
|
||||
(substitute* "tests/Makefile.am"
|
||||
(("libfreesasa\\.a") "libfreesasa.la"))))
|
||||
(add-after 'unpack 'fix-new-gemmi
|
||||
(lambda _
|
||||
(substitute* "src/cif.cc"
|
||||
(("models\\[i\\]\\.name")
|
||||
"std::to_string(models[i].num)")
|
||||
(("convert_pair_to_loop") "ensure_loop"))))
|
||||
(add-before 'build 'build-lexer-and-parser
|
||||
(lambda _
|
||||
(with-directory-excursion "src"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue