ports/net/skyfish/files/patch-8x
Pav Lucistnik a37447812b - Unbreak on 8.X
PR:		ports/137147
Submitted by:	Andrey <nsand@sura.ru>
2009-07-26 12:11:19 +00:00

15 lines
468 B
Text

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