Package: electric-fence
Version: 2.1.14
Severity: important
Tags: patch

Hi,

the current version of electric-fence fails to build on GNU/kFreeBSD.

The following simple patch fix that.
It would be nice if it could be included in the next upload.

Thanks in advance,

        Petr

--- eftest.c.OLD  2003-12-05 13:19:35.000000000 +0100
+++ eftest.c      2005-11-23 12:33:24.000000000 +0100
@@ -12,8 +12,12 @@
  */
 
 #ifndef        PAGE_PROTECTION_VIOLATED_SIGNAL
+#ifdef __FreeBSD_kernel__
+#define        PAGE_PROTECTION_VIOLATED_SIGNAL SIGBUS
+#else
 #define        PAGE_PROTECTION_VIOLATED_SIGNAL SIGSEGV
 #endif
+#endif
 
 struct diagnostic {
        int             (*test)(void);




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

Reply via email to