Index: dns/hs-gnuidn/Makefile =================================================================== --- dns/hs-gnuidn/Makefile (revision 436559) +++ dns/hs-gnuidn/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= gnuidn PORTVERSION= 0.2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns haskell MAINTAINER= haskell@FreeBSD.org Index: dns/hs-gnuidn/files/patch-gnuidn.cabal =================================================================== --- dns/hs-gnuidn/files/patch-gnuidn.cabal (nonexistent) +++ dns/hs-gnuidn/files/patch-gnuidn.cabal (working copy) @@ -0,0 +1,15 @@ +Hide the scary c11 features from c2hs, which does not understand them: + +c2hs: C header contains errors: +/usr/include/sys/_types.h:104: (column 61) [ERROR] >>> Syntax error ! + The symbol `long' does not fit here. +*** Error code 1 + +--- gnuidn.cabal.orig 2017-03-20 21:04:51 UTC ++++ gnuidn.cabal +@@ -44,3 +44,5 @@ library + + other-modules: + Data.Text.IDN.Internal ++ ++ cpp-options: -std=c99 Property changes on: dns/hs-gnuidn/files/patch-gnuidn.cabal ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: graphics/hs-cairo/Makefile =================================================================== --- graphics/hs-cairo/Makefile (revision 436559) +++ graphics/hs-cairo/Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= cairo PORTVERSION= 0.13.1.0 +PORTREVISION= 1 CATEGORIES= graphics haskell MAINTAINER= haskell@FreeBSD.org Index: graphics/hs-cairo/files/patch-Gtk2HsSetup.hs =================================================================== --- graphics/hs-cairo/files/patch-Gtk2HsSetup.hs (nonexistent) +++ graphics/hs-cairo/files/patch-Gtk2HsSetup.hs (working copy) @@ -0,0 +1,18 @@ +Hide the scary c11 features from c2hs, which does not understand them: + +gtk2hsC2hs: Error in C header file. +/usr/include/sys/_types.h:104: (column 61) [FATAL] + >>> Syntax error! + The symbol `long' does not fit here. +*** Error code 1 + +--- Gtk2HsSetup.hs.orig 2017-03-20 21:45:04 UTC ++++ Gtk2HsSetup.hs +@@ -254,6 +254,7 @@ runC2HS bi lbi (inDir, inFile) (outDir, outFile) verb + rawSystemProgramConf verbosity c2hsLocal (withPrograms lbi) $ + map ("--include=" ++) (outDir:chiDirs) + ++ [ "--cpp=" ++ programPath gccProg, "--cppopts=-E" ] ++ ++ [ "--cppopts=-std=c99" ] + ++ ["--cppopts=" ++ opt | opt <- getCppOptions bi lbi] + ++ ["--output-dir=" ++ newOutDir, + "--output=" ++ newOutFile, Property changes on: graphics/hs-cairo/files/patch-Gtk2HsSetup.hs ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property