summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch')
-rw-r--r--dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch b/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch
new file mode 100644
index 000000000000..dc26881ebdbe
--- /dev/null
+++ b/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch
@@ -0,0 +1,33 @@
+From b228347d62b7c69f16d1983d4c8c70f6601c7351 Mon Sep 17 00:00:00 2001
+From: hololeap <hololeap@users.noreply.github.com>
+Date: Sun, 2 Jul 2023 14:33:27 -0600
+Subject: [PATCH] Change dependency on Cabal-syntax
+
+Do not add Cabal-syntax to build-depends when the Cabal-syntax flag is
+off.
+
+This will ensure that Cabal-syntax is ignored/omitted when the flag is
+off which will prevent version conflicts with >=Cabal-syntax-3.8
+
+Signed-off-by: hololeap <hololeap@users.noreply.github.com>
+---
+ hackage-security.cabal | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/hackage-security.cabal b/hackage-security.cabal
+index 58afd57..f0463f4 100644
+--- a/hackage-security.cabal
++++ b/hackage-security.cabal
+@@ -170,8 +170,7 @@ library
+ else
+ build-depends: Cabal >= 1.14 && < 1.26
+ || >= 2.0 && < 2.6
+- || >= 3.0 && < 3.7,
+- Cabal-syntax < 3.7
++ || >= 3.0 && < 3.7
+
+ hs-source-dirs: src
+ default-language: Haskell2010
+--
+2.39.3
+