summaryrefslogtreecommitdiff
path: root/devel/hs-ncurses/files/patch-ncurses.cabal
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-03-18 22:37:45 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-03-18 22:37:45 +0000
commit35c70fe9488c1450d51ed696a19fdf2ea00818c5 (patch)
treeea6686378a6d19a5189a742384d7ded2a34c0447 /devel/hs-ncurses/files/patch-ncurses.cabal
parentUpdate to 1.4.1 (diff)
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)
Diffstat (limited to 'devel/hs-ncurses/files/patch-ncurses.cabal')
-rw-r--r--devel/hs-ncurses/files/patch-ncurses.cabal10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/hs-ncurses/files/patch-ncurses.cabal b/devel/hs-ncurses/files/patch-ncurses.cabal
new file mode 100644
index 000000000000..da68ccbe2a42
--- /dev/null
+++ b/devel/hs-ncurses/files/patch-ncurses.cabal
@@ -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