Package: mysql-dfsg-4.1
Severity: important

Hi,

mysql-dfsg-4.1 fails to build on GNU/kFreeBSD due to missing support.
Please find attached a patch to fix that. Could you please add it in 
the next upload?

Thanks in advance,
Aurelien


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)
Author: aurel32
Status: in BTS

diff -u mysql-dfsg-4.1-4.1.14/debian/patches/00list 
mysql-dfsg-4.1-4.1.14/debian/patches/00list
--- mysql-dfsg-4.1-4.1.14/debian/patches/00list
+++ mysql-dfsg-4.1-4.1.14/debian/patches/00list
@@ -12,0 +13 @@
+70_kfreebsd.dpatch
--- mysql-dfsg-4.1-4.1.14.orig/debian/patches/70_kfreebsd.dpatch
+++ mysql-dfsg-4.1-4.1.14/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

Reply via email to