aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2022-05-09 15:42:46 +0000
committerGleb Popov <arrowd@FreeBSD.org>2022-07-07 10:24:32 +0000
commit0a4466e10e8365a0634b72eabdd8dec2c19e73db (patch)
treec79ed593cb7a04b51733acbc99377b9a68d4f65d
parent2b365fef5717384fd979f1c856a35987f423d047 (diff)
downloadports-0a4466e10e8365a0634b72eabdd8dec2c19e73db.tar.gz
ports-0a4466e10e8365a0634b72eabdd8dec2c19e73db.zip
devel/hs-cpphs: Fix build after GHC update.
-rw-r--r--devel/hs-cpphs/Makefile4
-rw-r--r--devel/hs-cpphs/distinfo6
-rw-r--r--devel/hs-cpphs/files/patch-cpphs.cabal20
3 files changed, 25 insertions, 5 deletions
diff --git a/devel/hs-cpphs/Makefile b/devel/hs-cpphs/Makefile
index 51dd2f9d12d3..5c60299825d3 100644
--- a/devel/hs-cpphs/Makefile
+++ b/devel/hs-cpphs/Makefile
@@ -2,7 +2,7 @@
PORTNAME= cpphs
PORTVERSION= 1.20.9.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -12,6 +12,6 @@ LICENSE= LGPL21
USES= cabal
-USE_CABAL= polyparse-1.13_1
+USE_CABAL= polyparse-1.13_4
.include <bsd.port.mk>
diff --git a/devel/hs-cpphs/distinfo b/devel/hs-cpphs/distinfo
index 756bf13bd9d5..0f89721c25b0 100644
--- a/devel/hs-cpphs/distinfo
+++ b/devel/hs-cpphs/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1590780664
+TIMESTAMP = 1652110508
SHA256 (cabal/cpphs-1.20.9.1.tar.gz) = 7f59b10bc3374004cee3c04fa4ee4a1b90d0dca84a3d0e436d5861a1aa3b919f
SIZE (cabal/cpphs-1.20.9.1.tar.gz) = 45496
SHA256 (cabal/polyparse-1.13/polyparse-1.13.tar.gz) = 1c4c72980e1e5a4f07fea65ca08b2399581d2a6aa21eb1078f7ad286c279707b
SIZE (cabal/polyparse-1.13/polyparse-1.13.tar.gz) = 33144
-SHA256 (cabal/polyparse-1.13/revision/1.cabal) = 68b93c030aebb88aabef5b0dca195a1d35b50cf2f9f54d8795930e7f8db04c26
-SIZE (cabal/polyparse-1.13/revision/1.cabal) = 2726
+SHA256 (cabal/polyparse-1.13/revision/4.cabal) = e75b88df3f5f8e3ccf9c6925677c8d5872e3ce51acf1a2330b9aae5bcd683b44
+SIZE (cabal/polyparse-1.13/revision/4.cabal) = 2854
diff --git a/devel/hs-cpphs/files/patch-cpphs.cabal b/devel/hs-cpphs/files/patch-cpphs.cabal
new file mode 100644
index 000000000000..c73f98026239
--- /dev/null
+++ b/devel/hs-cpphs/files/patch-cpphs.cabal
@@ -0,0 +1,20 @@
+--- cpphs.cabal.orig 2001-09-09 01:46:40 UTC
++++ cpphs.cabal
+@@ -52,7 +52,7 @@ Library
+ Hs-Source-Dirs: . old
+
+ else
+- Build-Depends: time >=1.5 && <1.11
++ Build-Depends: time >=1.5
+ Hs-Source-Dirs: . new
+
+ Exposed-Modules:
+@@ -81,7 +81,7 @@ Executable cpphs
+ Hs-Source-Dirs: . old
+
+ else
+- Build-Depends: time >=1.5 && <1.11
++ Build-Depends: time >=1.5
+ Hs-Source-Dirs: . new
+
+ Other-Modules: