[Pkg-haskell-maintainers] Bug#753389: haskell-hourglass: FTBFS on hurd
Gabriele Giacone
1o5g4r8o at gmail.com
Tue Jul 1 11:35:55 UTC 2014
Source: haskell-hourglass
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Forwarded: https://github.com/vincenthz/hs-hourglass/pull/4
Dear Maintainer,
Attached patch fixes FTBFS on hurd-i386.
Thanks for considering.
-------------- next part --------------
--- haskell-hourglass-0.2.2.orig/cbits/unix.c
+++ haskell-hourglass-0.2.2/cbits/unix.c
@@ -2,7 +2,7 @@
* lowlevel binder for macosx and
*/
#include <time.h>
-#ifdef __MACH__
+#if defined __MACH__ && !defined __GNU__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
@@ -15,7 +15,7 @@
*/
void hourglass_clock_calendar(struct timespec *timespec)
{
-#ifdef __MACH__
+#if defined __MACH__ && !defined __GNU__
clock_serv_t cclock;
mach_timespec_t mts;
More information about the Pkg-haskell-maintainers
mailing list