Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 22:37:46 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436451 - in head/devel: hs-c2hs hs-language-c hs-ncurses hs-ncurses/files
Message-ID:  <201703182237.v2IMbkk8073535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Mar 18 22:37:45 2017
New Revision: 436451
URL: https://svnweb.freebsd.org/changeset/ports/436451

Log:
  Force compilation of of devel/hs-ncurses in c99 mode, to allow devel/gcc to be updated
  
  * hs-ncurses failed, as it does not understand c11 features, which is the default
    in modern compilers. By passing cpp-options: -std=c99 via its cabal file, this
    can be surpressed.
  * While here, also update the affected ports
  
  PR:		216843
  Approved by:	maintainer timeout (4weeks), rakuco (mentor)

Added:
  head/devel/hs-ncurses/files/
  head/devel/hs-ncurses/files/patch-ncurses.cabal   (contents, props changed)
Modified:
  head/devel/hs-c2hs/Makefile
  head/devel/hs-c2hs/distinfo
  head/devel/hs-language-c/Makefile
  head/devel/hs-language-c/distinfo
  head/devel/hs-ncurses/Makefile
  head/devel/hs-ncurses/distinfo

Modified: head/devel/hs-c2hs/Makefile
==============================================================================
--- head/devel/hs-c2hs/Makefile	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-c2hs/Makefile	Sat Mar 18 22:37:45 2017	(r436451)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	c2hs
-PORTVERSION=	0.26.1
+PORTVERSION=	0.28.1
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org
@@ -10,7 +10,7 @@ COMMENT=	C->Haskell FFI tool that gives 
 
 LICENSE=	GPLv2
 
-USE_CABAL=	dlist language-c>=0.4.7 shelly>=1.0 text yaml>=0.8
+USE_CABAL=	dlist language-c>=0.5.0 shelly>=1.0 text yaml>=0.8
 
 XMLDOCS=	doc/users_guide:html
 

Modified: head/devel/hs-c2hs/distinfo
==============================================================================
--- head/devel/hs-c2hs/distinfo	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-c2hs/distinfo	Sat Mar 18 22:37:45 2017	(r436451)
@@ -1,2 +1,3 @@
-SHA256 (cabal/c2hs-0.26.1.tar.gz) = f0c491cca64a9d5c14eb1ea926785642b2dbbaed03144ee2e1d8d47c60985c65
-SIZE (cabal/c2hs-0.26.1.tar.gz) = 203194
+TIMESTAMP = 1486993392
+SHA256 (cabal/c2hs-0.28.1.tar.gz) = 95b04ef42cf43a1078e9c8a4bf9264dd26e8653b441b3fb7f2296c8b3a0752bb
+SIZE (cabal/c2hs-0.28.1.tar.gz) = 205622

Modified: head/devel/hs-language-c/Makefile
==============================================================================
--- head/devel/hs-language-c/Makefile	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-language-c/Makefile	Sat Mar 18 22:37:45 2017	(r436451)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	language-c
-PORTVERSION=	0.4.7
+PORTVERSION=	0.5.0
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org

Modified: head/devel/hs-language-c/distinfo
==============================================================================
--- head/devel/hs-language-c/distinfo	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-language-c/distinfo	Sat Mar 18 22:37:45 2017	(r436451)
@@ -1,2 +1,3 @@
-SHA256 (cabal/language-c-0.4.7.tar.gz) = 5f6dc9d86b1f88dec1800e1a4fc43aa52f85fe4bb865ba268aca34b399a512e4
-SIZE (cabal/language-c-0.4.7.tar.gz) = 112569
+TIMESTAMP = 1486993392
+SHA256 (cabal/language-c-0.5.0.tar.gz) = 86d58bc017a7bba157fc4d5d0ab9e3a3d3f3a2f98bfe46b5b0d5d72a0f5d2222
+SIZE (cabal/language-c-0.5.0.tar.gz) = 170403

Modified: head/devel/hs-ncurses/Makefile
==============================================================================
--- head/devel/hs-ncurses/Makefile	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-ncurses/Makefile	Sat Mar 18 22:37:45 2017	(r436451)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ncurses
-PORTVERSION=	0.2.15
+PORTVERSION=	0.2.16
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org

Modified: head/devel/hs-ncurses/distinfo
==============================================================================
--- head/devel/hs-ncurses/distinfo	Sat Mar 18 22:31:18 2017	(r436450)
+++ head/devel/hs-ncurses/distinfo	Sat Mar 18 22:37:45 2017	(r436451)
@@ -1,2 +1,3 @@
-SHA256 (cabal/ncurses-0.2.15.tar.gz) = d66088846d7b82ac7921a81e6456492277f1d81c0b115afe1a35b23e0ec0b198
-SIZE (cabal/ncurses-0.2.15.tar.gz) = 29112
+TIMESTAMP = 1486993504
+SHA256 (cabal/ncurses-0.2.16.tar.gz) = e50fb7b1f700d6fa60b4040623b7e0249ae6af2ef2729801fb2917e8b1f25e3f
+SIZE (cabal/ncurses-0.2.16.tar.gz) = 29115

Added: head/devel/hs-ncurses/files/patch-ncurses.cabal
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/hs-ncurses/files/patch-ncurses.cabal	Sat Mar 18 22:37:45 2017	(r436451)
@@ -0,0 +1,10 @@
+--- ncurses.cabal.orig	2017-02-13 14:30:05 UTC
++++ ncurses.cabal
+@@ -103,6 +103,7 @@ library
+     -- platforms where the linker doesn't automatically follow dependencies.
+     if os(darwin) || os(freebsd) || flag(force-narrow-library)
+       cc-options: -DHSNCURSES_NARROW_HEADER
++      cpp-options: -std=c99
+     if os(darwin) || flag(force-narrow-library)
+       extra-libraries: panel ncurses pthread
+     else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703182237.v2IMbkk8073535>