[GHC] #14696: basement package fails to compile
GHC
ghc-devs at haskell.org
Sun Jan 21 13:06:44 UTC 2018
#14696: basement package fails to compile
-----------------------------------+----------------------------
Reporter: asyropoulos | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.2
Keywords: | Operating System: Solaris
Architecture: x86 | Type of failure: Other
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-----------------------------------+----------------------------
I have noticed that the basement package faisl to compile on Solaris.
However, the following patch solves the problem.
diff -Naur basement-0.0.6/Basement/Terminal/Size.hsc
basement-0.0.6.new/Basement/Terminal/Size.hsc
--- basement-0.0.6/Basement/Terminal/Size.hsc 2017-11-11
19:03:59.000000000 +0000
+++ basement-0.0.6.new/Basement/Terminal/Size.hsc 2018-01-21
15:03:03.899338329 +0000
@@ -20,6 +20,9 @@
#include <windows.h>
#elif defined FOUNDATION_SYSTEM_UNIX
#include <sys/ioctl.h>
+#ifdef __sun
+#include <sys/termios.h>
+#endif
#endif
#include <stdio.h>
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14696>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list