linuxpluginwrapper, how to install?

Guillermo Garcia Rojas garciarojas at solobsd.org
Mon Mar 21 08:38:01 PST 2005


On Sat, 19 Mar 2005 14:18:39 +0900, YONETANI Tomokazu wrote:

> DragonFly and FreeBSD 4.x takes 3 arguments while FreeBSD 5.x+ takes 4
> arguments, the added first argument being the name of the function which
> called assert(). Please throw in the attached patch into
> /usr/ports/www/linuxpluginwrapper/files (after creating it) for now.
> 
> Thanks.
> --- compat_glibc/linux_misc.c.orig	2005-03-19 03:15:37.000000000 +0900
> +++ compat_glibc/linux_misc.c	2005-03-19 14:15:28.000000000 +0900
> @@ -77,5 +77,10 @@
>  __assert_fail(const char *assertion, const char *file,
>  	unsigned int line, const char *function)
>  {
> +#if defined(__DragonFly__) || __FreeBSD_version < 500000
> +	(void)function;
> +	__assert(file, line, assertion);
> +#else
>  	__assert(function, file, line, assertion);
> +#endif
>  }


thanks to you!

-- 
---
Powered by DragonFly BSD

Guillermo Garcia-Rojas
garciarojas at xxxxxxxxxxx
http://solobsd.org






More information about the Users mailing list