Package: libtifiles0
Version: libtifiles0
Severity: important
Tags: patch
Hi,
libtifiles0 currently fails to build on GNU/kFreeBSD. Please find
attached a patch to fix that. Would it be possible to include it in the
next upload?
Thanks for your cooperation,
Aurelien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
--- libtifiles0-0.6.5.orig/src/typesxx.c
+++ libtifiles0-0.6.5/src/typesxx.c
@@ -42,7 +42,7 @@
/* Utility functions */
/*********************/
-#if !defined(__LINUX__) && !defined(__MACOSX__) && !defined(__MINGW32__)
+#if !defined(__LINUX__) && !defined(__MACOSX__) && !defined(__MINGW32__) && !defined(__BSD__)
char *strdup(const char *s)
{
char *p = NULL;