pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc FreeBSD 6.1-RELEASE/i386 bulk build results 20060906.2035



On Wed, Sep 13, 2006 at 01:14:26PM +0900, Takahiro Kambe wrote:
> In message <20060911171026.41D5213A7E1%danbala.tuwien.ac.at@localhost>
>       on Mon, 11 Sep 2006 19:10:26 +0200 (CEST),
>       Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> > 142a134
> > > databases/ruby-mysql               neumann%s-direktnet.de@localhost
> > 
> > mysql.c: In function `Init_mysql':
> > mysql.c:2015: error: `ulong' undeclared (first use in this function)
> > mysql.c:2015: error: (Each undeclared identifier is reported only once
> > mysql.c:2015: error: for each function it appears in.)
> > mysql.c:2015: error: syntax error before numeric constant
> > mysql.c:2018: error: syntax error before numeric constant
> It also happens on DragonFly BSD with mysql5-client.
> 
> - FreeBSD and DragonFly BSD dosen't have "ulong" in <sys/types.h>.
> - ${PREFIX}/include/mysql/mysql.h uses "ulong" (as "unsigned long")
>   but it dosen't define "ulong" itself.
> - ${PREFIX}/include/mysql/my_global.h has handling of "ulong" depends
>   on ${PREFIX}/include/mysql/my_config.h.
>   (But it contains "include <my_config.h>", not <mysql/my_config.h>,
>   adding -I${PREFIX}/include/mysql needs to compile.
> 
> Hmm, what is the right solution?

Just patch it to use unsigned long is the simplest solution, at least in
the public headers.

Joerg



Home | Main Index | Thread Index | Old Index