summaryrefslogtreecommitdiff
path: root/fix-sphinx-extlinks.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-28 09:59:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-28 09:59:10 +0000
commitb02e7abee55d6e9e31efa2fc9f3df455ca9c9f1d (patch)
tree4d726cdf3e5fc4329489fd1a3645cc1c5e4e20a3 /fix-sphinx-extlinks.patch
parent1cc8798baf9426f821b4f887f2914eac62e3ecd8 (diff)
automatic import of ghcopeneuler23.03
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'