алгоритм
1. cd /usr/ports/net-mgmt/netams
2. убираем все .if с BROKEN из Makefile
и там же меняем версию
DISTVERSION= 3.4.3
3. делаем
make makesum
4. создаем два файлика
file/patch-aa
Код: Выделить всё
--- src/ds_ipfw.c~ 2008-02-23 08:35:02.000000000 +0000
+++ src/ds_ipfw.c 2009-09-23 09:03:06.000000000 +0000
@@ -80,7 +80,7 @@
#endif
ds->Measure(&start, len);
}
-END:
+END: ;
pthread_cleanup_pop(1);
}
/////////////////////////////////////////////////////////////////////////////////////
Код: Выделить всё
--- ./src/ipfw2netflow.c.orig 2008-02-23 08:35:02.000000000 +0000
+++ ./src/ipfw2netflow.c 2009-09-23 07:16:51.000000000 +0000
@@ -22,7 +22,7 @@
#include "netflow.h"
extern u_char debug, quiet;
-extern void Debug(char *msg,...);
+extern void Debug(const char *msg,...);
/* defaults */
#define BLOCKSIZE 32768