From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/tex4ht/, dev-tex/tex4ht/files/
Date: Wed, 28 Apr 2021 08:38:30 +0000 (UTC) [thread overview]
Message-ID: <1619598979.f61b2e48ba6a7ff859dcd35468d767e144cc1c89.ulm@gentoo> (raw)
commit: f61b2e48ba6a7ff859dcd35468d767e144cc1c89
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 28 08:32:17 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 08:36:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61b2e48
dev-tex/tex4ht: Fix bug when hyperref is loaded from a class file
Bug: https://puszcza.gnu.org.ua/bugs/?508
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../tex4ht-20090611_p1038_p20210423-hyperref.patch | 17 +++++++++++++++++
...ebuild => tex4ht-20090611_p1038_p20210423-r1.ebuild} | 1 +
2 files changed, 18 insertions(+)
diff --git a/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch b/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch
new file mode 100644
index 00000000000..d3acc4c74ad
--- /dev/null
+++ b/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch
@@ -0,0 +1,17 @@
+https://puszcza.gnu.org.ua/bugs/?508
+
+--- a/texmf/tex/generic/tex4ht/hyperref.4ht
++++ b/texmf/tex/generic/tex4ht/hyperref.4ht
+@@ -306,6 +306,12 @@
+ \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}%
+ }
+
++\@ifpackageloaded{nameref}{}
++{%
++ \let\sv:label\label
++ \RequirePackage{nameref}%
++ \let\label\sv:label
++}
+ \def\hyper@makecurrent#1{%
+ \begingroup
+ \edef\Hy@param{#1}%
diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423.ebuild b/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423-r1.ebuild
similarity index 98%
rename from dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423.ebuild
rename to dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423-r1.ebuild
index c1ef76c28fa..cb06c8c6208 100644
--- a/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423.ebuild
+++ b/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210423-r1.ebuild
@@ -33,6 +33,7 @@ DEPEND="dev-libs/kpathsea
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
+PATCHES=("${FILESDIR}/${P}-hyperref.patch")
src_prepare() {
cp -a "${WORKDIR}/texmf-dist/"* texmf/ || die
next reply other threads:[~2021-04-28 8:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 8:38 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-30 11:25 [gentoo-commits] repo/gentoo:master commit in: dev-tex/tex4ht/, dev-tex/tex4ht/files/ Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619598979.f61b2e48ba6a7ff859dcd35468d767e144cc1c89.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox