cvs commit: ports/www/linuxpluginwrapper Makefile distinfo
pkg-message pkg-plist
YONETANI Tomokazu
qhwt+fbsd at les.ath.cx
Fri Mar 18 21:20:57 PST 2005
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.
More information about the cvs-all
mailing list