Hi,

it looks like there is one more problem on GNU/kFreeBSD.

In package hugs, there are
1096 files on linux-i386 and
1066 files on kfreebsd-i386.

Missing files are from  /usr/lib/hugs/libraries/System/Posix/.
The problem is triggered by (on GNU/kFreeBSD)
undefined RLIM_SAVED_CUR/RLIM_SAVED_MAX.
Unfortunately, building of hugs silently ignores compile error.

I don't know howto write .hsc files, but I would guess patch bellow.
Could you, please, verify it and (corrected) upload to debian
and submit also upstream.

Thank you very much.

Petr


--- fptools/libraries/unix/System/Posix/Resource.hsc~ 2005-11-09 
19:56:12.000000000 +0100
+++ fptools/libraries/unix/System/Posix/Resource.hsc  2005-11-09 
19:56:12.000000000 +0100
@@ -93,8 +93,10 @@
 
 unpackRLimit :: CRLim -> ResourceLimit
 unpackRLimit (#const RLIM_INFINITY)  = ResourceLimitInfinity
+#ifdef RLIM_SAVED_MAX
 unpackRLimit (#const RLIM_SAVED_MAX) = ResourceLimitUnknown
 unpackRLimit (#const RLIM_SAVED_CUR) = ResourceLimitUnknown
+#endif
 unpackRLimit other = ResourceLimit (fromIntegral other)
 
 packRLimit :: ResourceLimit -> Bool -> CRLim




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to