Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc for openSUSE:Factory checked in 
at 2023-01-18 13:09:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc (Old)
 and      /work/SRC/openSUSE:Factory/.ghc.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc"

Wed Jan 18 13:09:32 2023 rev:96 rq:1059044 version:8.10.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc/ghc.changes  2022-08-01 21:32:12.665968401 
+0200
+++ /work/SRC/openSUSE:Factory/.ghc.new.32243/ghc.changes       2023-01-18 
13:09:37.796404585 +0100
@@ -1,0 +2,10 @@
+Tue Jan 17 11:45:32 UTC 2023 - Peter Simons <psim...@suse.com>
+
+- Apply "fix_extlinks.patch" to work around a bug in Sphinx 6.1.x
+  that broke our documentation build. Remove this patch once Sphinx
+  is fixed. This patch is a variant of the ghc-9.4.4 patch from
+  https://gitlab.haskell.org/ghc/ghc/-/issues/22766. Upstream's
+  https://github.com/sphinx-doc/sphinx/issues/11094 has further
+  details. [boo#1207214]
+
+-------------------------------------------------------------------

New:
----
  fix_extlinks.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc.spec ++++++
--- /var/tmp/diff_new_pack.4eGhqR/_old  2023-01-18 13:09:40.308419013 +0100
+++ /var/tmp/diff_new_pack.4eGhqR/_new  2023-01-18 13:09:40.312419036 +0100
@@ -74,6 +74,8 @@
 Requires:       ghc-compiler = %{version}-%{release}
 Requires:       ghc-ghc-devel = %{version}-%{release}
 Requires:       ghc-libraries = %{version}-%{release}
+# Work around a bug in Sphinx 6.1.x to fix the documentation build. Remove 
this patch ASAP.
+Patch1:         fix_extlinks.patch
 # PATCH-FIX-OPENSUSE: use vfpv3-d16 and disable NEON
 Patch2:         ghc-armv7-VFPv3D16--NEON.patch
 # PATCH-FIX-UPSTREAM Disable-unboxed-arrays.patch ptromm...@icloud.com -- Do 
not use unboxed arrays on big-endian platforms. See Haskell Trac #15411.
@@ -189,6 +191,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 %patch2 -p1
 %ifarch ppc64 s390 s390x
 %patch3 -p1

++++++ fix_extlinks.patch ++++++
Index: ghc-8.10.7/docs/users_guide/ghc_config.py.in
===================================================================
--- ghc-8.10.7.orig/docs/users_guide/ghc_config.py.in
+++ ghc-8.10.7/docs/users_guide/ghc_config.py.in
@@ -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'
Index: ghc-8.10.7/libraries/Cabal/Cabal/doc/conf.py
===================================================================
--- ghc-8.10.7.orig/libraries/Cabal/Cabal/doc/conf.py
+++ ghc-8.10.7/libraries/Cabal/Cabal/doc/conf.py
@@ -24,12 +24,12 @@ master_doc = 'index'
 
 # extlinks -- see http://www.sphinx-doc.org/en/stable/ext/extlinks.html
 extlinks = {
-    'issue': ('https://github.com/haskell/cabal/issues/%s', '#'),
+    'issue': ('https://github.com/haskell/cabal/issues/%s', '#%s'),
 
-    'ghc-wiki': ('http://ghc.haskell.org/trac/ghc/wiki/%s', ''),
-    'ghc-ticket': ('http://ghc.haskell.org/trac/ghc/ticket/%s', 'GHC #'),
+    'ghc-wiki': ('http://ghc.haskell.org/trac/ghc/wiki/%s', None),
+    'ghc-ticket': ('http://ghc.haskell.org/trac/ghc/ticket/%s', 'GHC #%s'),
 
-    'hackage-pkg': ('http://hackage.haskell.org/package/%s', ''),
+    'hackage-pkg': ('http://hackage.haskell.org/package/%s', None),
 }
 
 # General information about the project.

Reply via email to