commit:     55255a9f6d17a965f6cceb311f972ccd2afb3026
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Thu Nov 13 11:04:41 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 16:39:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55255a9f

sci-libs/spqr: fix doc build

\htmladdnormallink is in package html, so add it as a quick workaround,
upstream fix this problem by replace htmladdnormallink with \url

Closes: https://bugs.gentoo.org/929098
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44616
Closes: https://github.com/gentoo/gentoo/pull/44616
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 sci-libs/spqr/spqr-2.0.9-r4.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/spqr/spqr-2.0.9-r4.ebuild 
b/sci-libs/spqr/spqr-2.0.9-r4.ebuild
index 0e88a5cfea9f..f30766f0a1db 100644
--- a/sci-libs/spqr/spqr-2.0.9-r4.ebuild
+++ b/sci-libs/spqr/spqr-2.0.9-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,6 +30,11 @@ RDEPEND="${DEPEND}"
 src_prepare() {
        default
        elibtoolize
+
+       # Should be able to drop this workaround with newer versions.
+       # upstream fix it by replace \htmladdnormallink{...} with \url{}
+       sed -e '/^\\usepackage{hyperref}$/i \\\\usepackage{html}' \
+               -i Doc/spqr_user_guide.tex || die
 }
 
 src_configure() {

Reply via email to