From 712ed31c3e42950d96d5995007d7a7b361cd3d83 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 4 May 2021 09:10:43 -0300 Subject: security/expiretable: Fix build on 13+ get_states() is the reason it stopped building on FreeBSD 13 and newer. Retire this function since it's not used anywhere and get the build fixed. PR: 253547 Reported by: mike@sentex.net Reviewed by: kp Approved by: maintainer timeout (2 weeks) Obtained from: pfSense MFH: 2021Q2 Sponsored by: Rubicon Communications, LLC ("Netgate") --- security/expiretable/files/patch-ioctl__helpers.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 security/expiretable/files/patch-ioctl__helpers.h (limited to 'security/expiretable/files/patch-ioctl__helpers.h') diff --git a/security/expiretable/files/patch-ioctl__helpers.h b/security/expiretable/files/patch-ioctl__helpers.h new file mode 100644 index 000000000000..1179a82ec9c0 --- /dev/null +++ b/security/expiretable/files/patch-ioctl__helpers.h @@ -0,0 +1,9 @@ +--- ioctl_helpers.h.orig 2021-04-19 18:12:20 UTC ++++ ioctl_helpers.h +@@ -31,6 +31,5 @@ int radix_get_tstats(int dev, struct pfr_tstats **tsta + int radix_get_tables(int dev, struct pfr_table **tables, const struct pfr_table *filter, int flags); + int radix_get_addrs(int dev, const struct pfr_table *table, struct pfr_addr **addrs, int flags); + int radix_del_addrs(int dev, const struct pfr_table *table, struct pfr_addr *addrs, int addr_count, int flags); +-int get_states(int dev, struct pf_state **states); + + #endif /*_IOCTL_HELPERS_H_*/ -- cgit v1.2.3