git: a74e4cf1e218 - main - sysutils/pftop: Fix output on 14.0-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Jun 2023 12:45:31 UTC
The branch main has been updated by grembo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a74e4cf1e218ec06729cdff8c7e38d2fd4d44c3e
commit a74e4cf1e218ec06729cdff8c7e38d2fd4d44c3e
Author: Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2023-06-11 12:42:31 +0000
Commit: Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2023-06-11 12:42:31 +0000
sysutils/pftop: Fix output on 14.0-CURRENT
Reported by: herbert@gojira.at
---
sysutils/pftop/Makefile | 2 +-
sysutils/pftop/files/extra-patch-config.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index cba2ecd65aeb..815e0d68f125 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pftop
PORTVERSION= 0.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils net
MAINTAINER= grembo@FreeBSD.org
diff --git a/sysutils/pftop/files/extra-patch-config.h b/sysutils/pftop/files/extra-patch-config.h
index d24f88179718..ecd30c862dad 100644
--- a/sysutils/pftop/files/extra-patch-config.h
+++ b/sysutils/pftop/files/extra-patch-config.h
@@ -12,7 +12,7 @@ $OpenBSD: patch-config_h,v 1.4 2008/12/20 04:36:11 canacar Exp $
+
#ifdef HAVE_PFSYNC_STATE
+#if OS_LEVEL > 45
-+typedef struct pfsync_state_1400 pf_state_t;
++typedef struct pfsync_state_1301 pf_state_t;
+#else
typedef struct pfsync_state pf_state_t;
+#endif