summaryrefslogtreecommitdiff
path: root/net/hs-resolv/patches/patch-resolv.cabal
blob: 8d43bd165e14353762dc6f1b4b64eb840a6cf7d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-resolv.cabal,v 1.2 2022/02/11 13:15:31 pho Exp $

Fix build with GHC 9.
Fix build with base16-bytestring-1.0.*.

--- resolv.cabal.orig	2001-09-09 01:46:40.000000000 +0000
+++ resolv.cabal
@@ -92,10 +92,10 @@ library
                      Compat
 
   -- we need binary-0.7.3 for isolate
-  build-depends:     base               >= 4.5 && <4.15
-                   , base16-bytestring ^>= 0.1
+  build-depends:     base               >= 4.5 && <5
+                   , base16-bytestring ^>= 1.0
                    , binary            ^>=0.7.3 || ^>= 0.8
-                   , bytestring        ^>=0.9.2 || ^>= 0.10
+                   , bytestring        ^>=0.9.2 || ^>= 0.10 || ^>= 0.11
                    , containers        ^>=0.4.2.1 || ^>= 0.5 || ^>= 0.6
 
   ghc-options:       -Wall