summaryrefslogtreecommitdiff
path: root/patches/ghc-9.14-doxygen-parser.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/ghc-9.14-doxygen-parser.diff')
-rw-r--r--patches/ghc-9.14-doxygen-parser.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/ghc-9.14-doxygen-parser.diff b/patches/ghc-9.14-doxygen-parser.diff
new file mode 100644
index 0000000..997f866
--- /dev/null
+++ b/patches/ghc-9.14-doxygen-parser.diff
@@ -0,0 +1,50 @@
+diff --git a/doxygen-parser.cabal b/doxygen-parser.cabal
+index 699aa3f..63bd79f 100644
+--- a/doxygen-parser.cabal
++++ b/doxygen-parser.cabal
+@@ -61,11 +61,10 @@ library
+ hs-source-dirs: src src-internal
+ exposed-modules:
+ Doxygen.Parser
++ Doxygen.Parser.Internal
+ Doxygen.Parser.Types
+ Doxygen.Parser.Warning
+
+- -- Implementation module, kept off the public Hackage surface.
+- other-modules: Doxygen.Parser.Internal
+ build-depends:
+ , containers >=0.6.5.1 && <0.9
+ , directory >=1.3.6.2 && <1.4
+@@ -75,24 +74,6 @@ library
+ , text >=1.2 && <2.2
+ , xml-conduit >=1.9 && <1.11
+
+--- Private sub-library that re-exposes the implementation module to the test
+--- suite. It depends on the main library so 'Doxygen.Parser.Types' (and the
+--- 'DoxygenKey' it now houses) stay a single shared copy across both.
+-library internal
+- import: lang
+- visibility: private
+- hs-source-dirs: src-internal
+- exposed-modules: Doxygen.Parser.Internal
+- build-depends:
+- , containers >=0.6.5.1 && <0.9
+- , directory >=1.3.6.2 && <1.4
+- , doxygen-parser
+- , filepath >=1.4 && <1.6
+- , process >=1.6 && <1.7
+- , temporary >=1.3 && <1.4
+- , text >=1.2 && <2.2
+- , xml-conduit >=1.9 && <1.11
+-
+ test-suite test-doxygen-parser
+ import: lang
+ type: exitcode-stdio-1.0
+@@ -118,7 +99,6 @@ test-suite test-doxygen-parser
+ -- Internal dependencies
+ build-depends:
+ , doxygen-parser
+- , doxygen-parser:internal
+
+ -- External dependencies
+ build-depends: \ No newline at end of file