git: 9f338283eff1 - main - net-mgmt/p0f: Fix build on 13.1 and current
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 May 2022 17:14:51 UTC
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f338283eff141a14454541d5f2ca29609798d15 commit 9f338283eff141a14454541d5f2ca29609798d15 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2022-05-14 17:14:14 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-05-14 17:14:14 +0000 net-mgmt/p0f: Fix build on 13.1 and current PR: 263972 --- net-mgmt/p0f/files/patch-process.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/net-mgmt/p0f/files/patch-process.c b/net-mgmt/p0f/files/patch-process.c index fea6321a09b9..45e2e41e749b 100644 --- a/net-mgmt/p0f/files/patch-process.c +++ b/net-mgmt/p0f/files/patch-process.c @@ -1,6 +1,14 @@ ---- process.c.orig 2012-01-16 22:43:57.000000000 -0500 -+++ process.c 2012-03-18 16:01:24.966689978 -0400 -@@ -22,6 +22,9 @@ +--- process.c.orig 2016-04-16 01:18:17 UTC ++++ process.c +@@ -8,6 +8,7 @@ + + */ + ++#include <stddef.h> + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -22,6 +23,9 @@ #include <arpa/inet.h> #include <sys/time.h> #include <sys/stat.h> @@ -10,7 +18,7 @@ #include "types.h" #include "config.h" -@@ -106,7 +109,7 @@ +@@ -106,7 +110,7 @@ static void find_offset(const u8* data, s32 total_len) case DLT_LINUX_SLL: link_off = 16; return; #endif /* DLT_LINUX_SLL */