You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
ghc: Patch to fix upstream sphinx issue
This commit is contained in:
committed by
Renee Otten
parent
85368d4b2f
commit
577bd579e7
+7
-6
@@ -6,7 +6,7 @@ PortGroup legacysupport 1.1
|
||||
|
||||
name ghc
|
||||
version 9.14.1
|
||||
revision 0
|
||||
revision 1
|
||||
categories lang haskell
|
||||
maintainers {ieee.org:s.t.smith @essandess} openmaintainer
|
||||
license BSD
|
||||
@@ -335,6 +335,12 @@ if {${name} eq ${subport}} {
|
||||
}
|
||||
}
|
||||
|
||||
# Please remove after this issue is resolved
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/26810
|
||||
# diff -NaurdwB -I '^#[[:space:]]*' ./ghc-orig ./ghc-new | sed -E -e 's/\.\/ghc-(orig|new)/\./g' > patch-layout_html.diff
|
||||
patchfiles-append \
|
||||
patch-layout_html.diff
|
||||
|
||||
use_configure yes
|
||||
use_autoconf yes
|
||||
|
||||
@@ -363,11 +369,6 @@ if {${name} eq ${subport}} {
|
||||
build.pre_args
|
||||
build.post_args -VVVVV [haskell_cabal.build_getjobsarg]
|
||||
|
||||
# Please remove after this issue is resolved
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/26810
|
||||
build.post_args-append \
|
||||
--docs=no-sphinx
|
||||
|
||||
# libHSbase shipped with GHC links against system libiconv,
|
||||
# which provides the 'iconv' symbol, but not the 'libiconv'
|
||||
# symbol. Because the compilation process statically links
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -NaurdwB -I ^#[[:space:]]* ./docs/users_guide/rtd-theme/layout.html ./docs/users_guide/rtd-theme/layout.html
|
||||
--- ./docs/users_guide/rtd-theme/layout.html 2026-01-28 08:32:19
|
||||
+++ ./docs/users_guide/rtd-theme/layout.html 2026-01-28 08:33:22
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user