Date: Sun, 26 Jul 2009 08:15:14 GMT From: Andrey <nsand@sura.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137147: error build in 8 version, too few arguments to function 'knlist_init' Message-ID: <200907260815.n6Q8FE5H055954@www.freebsd.org> Resent-Message-ID: <200907260820.n6Q8K5QX036333@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137147 >Category: ports >Synopsis: error build in 8 version, too few arguments to function 'knlist_init' >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 08:20:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrey >Release: FreeBSD 8.0-BETA2 >Organization: >Environment: building for: 8.0-RELEASE i386 >Description: In version 8.0 change parametres function knlist_init >How-To-Repeat: Make ports in FreeBSD 8.0 >Fix: Patch attached with submission follows: --- module/drv.h.orig 2008-10-14 12:50:44.000000000 +0400 +++ module/drv.h 2009-07-23 22:03:04.000000000 +0400 @@ -89,7 +89,12 @@ if (fifobuf == NULL) { printf("no memory for buffer\n"); return -1;} +#if __FreeBSD_version < 800000 knlist_init(&echo_rsel.si_note, NULL, NULL, NULL, NULL); +#else + knlist_init(&echo_rsel.si_note, NULL, NULL, NULL, NULL,NULL); +#endif + socketlock = 0; break; case MOD_UNLOAD: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907260815.n6Q8FE5H055954>