aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2023-06-11 12:42:31 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2023-06-11 12:42:31 +0000
commita74e4cf1e218ec06729cdff8c7e38d2fd4d44c3e (patch)
treec91c5b663b68d0b523b5e203a624ce471e6b9106
parente30350e58230cfe60daa2f6b44417b410d1dbb6c (diff)
downloadports-a74e4cf1e218ec06729cdff8c7e38d2fd4d44c3e.tar.gz
ports-a74e4cf1e218ec06729cdff8c7e38d2fd4d44c3e.zip
sysutils/pftop: Fix output on 14.0-CURRENT
Reported by: herbert@gojira.at
-rw-r--r--sysutils/pftop/Makefile2
-rw-r--r--sysutils/pftop/files/extra-patch-config.h2
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