Package: xli
Severity: important
Version: 1.17.0-22
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak, see bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr

diff -u xli-1.17.0/ddxli.h xli-1.17.0/ddxli.h
--- xli-1.17.0/ddxli.h
+++ xli-1.17.0/ddxli.h
@@ -36,7 +36,9 @@

 /* equate bcopy with memcpy and bzero with memset where appropriate. */
 #ifdef HAS_MEMCPY
-#ifndef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
+#include <string.h>
+#else
 #ifndef bcopy
 #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N))
 #endif



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

Reply via email to