public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc9.6] rawhide: patch for sphinx9
@ 2026-08-07 16:49 Jens Petersen
0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-08-07 16:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ghc9.6
Branch : rawhide
Commit : c1ff373b2a01a01cf6b58890dbb13c156a0c49d6
Author : Jens Petersen <petersen@redhat.com>
Date : 2026-08-08T00:48:30+08:00
Stats : +37/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ghc9.6/c/c1ff373b2a01a01cf6b58890dbb13c156a0c49d6?branch=rawhide
Log:
patch for sphinx9
---
diff --git a/e8f5a45de561ec80c88cd3da2c66502deb32d4c3.patch b/e8f5a45de561ec80c88cd3da2c66502deb32d4c3.patch
new file mode 100644
index 0000000..5b6255f
--- /dev/null
+++ b/e8f5a45de561ec80c88cd3da2c66502deb32d4c3.patch
@@ -0,0 +1,31 @@
+From e8f5a45de561ec80c88cd3da2c66502deb32d4c3 Mon Sep 17 00:00:00 2001
+From: sterni <sternenseemann@systemli.org>
+Date: Wed, 28 Jan 2026 00:09:54 +0100
+Subject: [PATCH] users_guide: fix runtime error during build with Sphinx 9.1.0
+
+Appears that pathto is stricter about what it accepts now.
+Tested Sphinx 8.2.3 and 9.1.0 on the ghc-9.10 branch.
+
+Resolves #26810.
+
+Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
+---
+ docs/users_guide/rtd-theme/layout.html | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/docs/users_guide/rtd-theme/layout.html b/docs/users_guide/rtd-theme/layout.html
+index 94a40cc1c3a1..f2441378a868 100644
+--- a/docs/users_guide/rtd-theme/layout.html
++++ b/docs/users_guide/rtd-theme/layout.html
+@@ -32,7 +32,7 @@
+ {%- if css|attr("rel") %}
+ <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
+ {%- else %}
+- <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
++ <link rel="stylesheet" href="{{ pathto(css.filename, 1) }}" type="text/css" />
+ {%- endif %}
+ {%- endfor %}
+
+--
+GitLab
+
diff --git a/ghc9.6.spec b/ghc9.6.spec
index 06072cb..dc36cb5 100644
--- a/ghc9.6.spec
+++ b/ghc9.6.spec
@@ -96,6 +96,9 @@ Patch11: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11085.patch
# for unregisterized
Patch16: ghc-hadrian-s390x-rts--qg.patch
+# sphinx9
+Patch20: e8f5a45de561ec80c88cd3da2c66502deb32d4c3.patch
+
# Debian patches:
Patch26: no-missing-haddock-file-warning.patch
Patch27: haddock-remove-googleapis-fonts.patch
@@ -425,6 +428,8 @@ rm libffi-tarballs/libffi-*.tar.gz
%endif
%endif
+%patch -P20 -p1 -b .orig
+
#debian
%patch -P26 -p1 -b .orig
%patch -P27 -p1 -b .orig
@@ -844,6 +849,7 @@ make test
%changelog
* Fri Aug 07 2026 Jens Petersen <petersen@redhat.com> - 9.6.7-27
- use hadrian-bootstrap-sources and bundled Cabal to build hadrian (#2503916)
+- patch for sphinx9
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.7-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:49 [rpms/ghc9.6] rawhide: patch for sphinx9 Jens Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox