ghc/ghc-gen_contents_index-haddock-path.patch
Ondřej Súkup 3b3a5bcecd - Update to version 9.8.4
* -Wmissing-home-modules now behaves correctly when multiple units have expose the same module name
 * Adjust the demand signature of the prompt# to avoid invalid optimisation of non-terminating programs
 * GHC’s internal Unique type has been widened to 64-bits on 32-bit architectures,
    avoiding potential miscompilations on large projects

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=406
2024-12-03 17:18:25 +00:00

14 lines
533 B
Diff

Index: ghc-9.4.4/libraries/gen_contents_index
===================================================================
--- ghc-9.4.4.orig/libraries/gen_contents_index
+++ ghc-9.4.4/libraries/gen_contents_index
@@ -58,7 +58,7 @@ then
HADDOCK_ARGS="$HADDOCK_ARGS $HADDOCK_ARG"
done
else
- HADDOCK=../../../../../bin/haddock
+ HADDOCK=/usr/bin/haddock
# We don't want the GHC API to swamp the index
HADDOCK_FILES=`ls -1 */*.haddock | grep -v '/ghc\.haddock' | sort`
HADDOCK_ARGS="-p prologue.txt"