summaryrefslogtreecommitdiff
path: root/fix-sphinx-extlinks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-sphinx-extlinks.patch')
-rw-r--r--fix-sphinx-extlinks.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-sphinx-extlinks.patch b/fix-sphinx-extlinks.patch
new file mode 100644
index 0000000..ab4ff7f
--- /dev/null
+++ b/fix-sphinx-extlinks.patch
@@ -0,0 +1,12 @@
+diff --color -Naur ghc-9.4.5-orig/docs/users_guide/ghc_config.py.in ghc-9.4.5/docs/users_guide/ghc_config.py.in
+--- ghc-9.4.5-orig/docs/users_guide/ghc_config.py.in 2023-10-27 00:22:40.258287961 +0800
++++ ghc-9.4.5/docs/users_guide/ghc_config.py.in 2023-10-27 00:23:38.693278198 +0800
+@@ -1,6 +1,6 @@
+ extlinks = {
+- 'ghc-ticket': ('https://gitlab.haskell.org/ghc/ghc/issues/%s', '#'),
+- 'ghc-wiki': ('https://gitlab.haskell.org/ghc/ghc/wikis/%s', '#'),
++ 'ghc-ticket': ('https://gitlab.haskell.org/ghc/ghc/issues/%s', '%s'),
++ 'ghc-wiki': ('https://gitlab.haskell.org/ghc/ghc/wikis/%s', '#%s'),
+ }
+
+ libs_base_uri = '../libraries'