Petr Salinger <[EMAIL PROTECTED]> (03/11/2006):
> the current version fails to build on GNU/kFreeBSD.
> It needs small tweak, see bellow.

Hi,

I encountered the same problem, which I solved with the attached patch,
if Petr doesn't look suitable for you or for upstream.

Cheers,

-- 
Cyril Brulebois
--- xli-1.17.0/ddxli.h	2007-03-21 07:46:30.344957000 +0100
+++ xli-1.17.0/ddxli.h	2007-03-21 07:47:06.000000000 +0100
@@ -36,7 +36,7 @@
 
 /* equate bcopy with memcpy and bzero with memset where appropriate. */
 #ifdef HAS_MEMCPY
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__GLIBC__)
 #ifndef bcopy
 #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N))
 #endif

Attachment: pgp8oVCTC4sHc.pgp
Description: PGP signature

Reply via email to