Package: mysql-dfsg-5.0 Severity: important Tags: patch Hi,
The current version of mysql-dfsg-5.0 fails to build on GNU/kFreeBSD. Please find attached a patch to fix that. It would be nice if you can include it in the next upload. Thanks in advance, Aurelien -- System Information: Debian Release: testing/unstable Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.4-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u mysql-dfsg-5.0-5.0.11beta/debian/patches/00list mysql-dfsg-5.0-5.0.11beta/debian/patches/00list --- mysql-dfsg-5.0-5.0.11beta/debian/patches/00list +++ mysql-dfsg-5.0-5.0.11beta/debian/patches/00list @@ -14,0 +15 @@ +70_kfreebsd.dpatch --- mysql-dfsg-5.0-5.0.11beta.orig/debian/patches/70_kfreebsd.dpatch +++ mysql-dfsg-5.0-5.0.11beta/debian/patches/70_kfreebsd.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Support for GNU/kFreeBSD + [EMAIL PROTECTED]@ + +--- old/include/my_global.h.orig 2005-09-09 23:56:12.000000000 +0200 ++++ new/include/my_global.h 2005-09-09 23:56:44.000000000 +0200 +@@ -102,7 +102,7 @@ + + + /* Fix problem with S_ISLNK() on Linux */ +-#if defined(TARGET_OS_LINUX) ++#if defined(TARGET_OS_LINUX) || defined(__GLIBC__) + #undef _GNU_SOURCE + #define _GNU_SOURCE 1 + #endif