[debian-mysql] Bug#793358: mysql-5.6: FTBFS on HURD: error: 'RTLD_DEFAULT' undeclared

Samuel Thibault sthibault at debian.org
Sun Dec 20 10:17:03 UTC 2015


Hello,

Samuel Thibault, on Fri 18 Sep 2015 09:20:39 +0200, wrote:
> merely putting the definition of _GNU_SOURCE before #includes (as it
> should always be) fixes the build, here is a tested patch.

Ping?

mysql-server is currently uninstallable on hurd-i386.

Samuel

> --- a/plugin/auth/dialog.c.orig	2015-09-18 00:02:35.000000000 +0000
> +++ b/plugin/auth/dialog.c	2015-09-18 00:02:40.000000000 +0000
> @@ -38,6 +38,10 @@
>  # define RTLD_DEFAULT GetModuleHandle(NULL)
>  #endif
>  
> +#if !defined (_GNU_SOURCE)
> +# define _GNU_SOURCE /* for RTLD_DEFAULT */
> +#endif
> +
>  #include <my_global.h>
>  #include <mysql.h>
>  #include <mysql/plugin_auth.h>
> @@ -46,10 +50,6 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  
> -#if !defined (_GNU_SOURCE)
> -# define _GNU_SOURCE /* for RTLD_DEFAULT */
> -#endif
> -
>  /**
>    first byte of the question string is the question "type".
>    It can be an "ordinary" or a "password" question.


-- 
Samuel
<d> bah à défaut de ligne TGV, ils ont un GR
 -+- #ens-mim - comment ça, paumé ?! -+-



More information about the pkg-mysql-maint mailing list