While working to upstream my current patch to install html documentation in a location defined by configure I noticed that I introduced a bug now present in all available version of singular in Gentoo. At some point the patch must have been correct but now there is a mistake which should make it impossible to access html documentation from inside singular.
In line https://github.com/gentoo/gentoo/blob/master/sci-mathematics/singular/files/singular-4.1.3-doc_install.patch#L46
should actually be
The mistake is also found in "doc-install" patch for previous versions.
For reference upstream is rejecting the current patch because they want a relative location in feRessource.cc - which is fair enough.
it is while working on improving the PR that I noticed the mistake,.
I have been developing a new comprehensive solution at https://github.com/cschwan/sage-on-gentoo/tree/vbraun/sci-mathematics/singular and I will be feeding bits of it upstream progressively.
But the previous solution was half baked and missed bits. It looks like no one has ever used the bits that I was touching.