ports/137147: error build in 8 version, too few arguments to function 'knlist_init'

Andrey nsand at sura.ru
Sun Jul 26 08:20:06 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list