DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: linuxpluginwrapper, how to install?


From: Guillermo Garcia Rojas <garciarojas@xxxxxxxxxxx>
Date: Mon, 21 Mar 2005 10:38:01 -0600

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@xxxxxxxxxxx
http://solobsd.org




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