Date: Sat, 19 Mar 2005 14:21:41 +0900 From: YONETANI Tomokazu <qhwt+fbsd@les.ath.cx> To: Norikatsu Shigemura <nork@FreeBSD.org> Cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/www/linuxpluginwrapper Makefile distinfo pkg-message pkg-plist Message-ID: <20050319052141.GA36176@les.ath.cx> In-Reply-To: <200503181828.j2IISipw024992@repoman.freebsd.org> References: <200503181828.j2IISipw024992@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 18, 2005 at 06:28:44PM +0000, Norikatsu Shigemura wrote:
> nork 2005-03-18 18:28:44 UTC
>
> FreeBSD ports repository
>
> Modified files:
> www/linuxpluginwrapper Makefile distinfo pkg-message pkg-plist
> Log:
> Update to 20050319.
Hi, the new code doesn't build on FreeBSD-4.x or DragonFly because of the
difference in the number of arguments in __assert(). You need the following
patch to make it build.
%%%
--- 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
}
%%%
Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050319052141.GA36176>
