git: 4ceeb4e53c57 - 2023Q2 - net/ntp: Fix two reference clock builds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 14:02:37 UTC
The branch 2023Q2 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ceeb4e53c57a42f0410cd747567666811733189 commit 4ceeb4e53c57a42f0410cd747567666811733189 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2023-06-06 13:40:24 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2023-06-06 14:02:30 +0000 net/ntp: Fix two reference clock builds Fix build for hopf6021 and wharton reference clocks. No PORTREVISION bump is needed since both reference clocks are not built by default. Fixes: de4864bd361e (cherry picked from commit a133ed032a03a804d114d38cf0cb289fc4295a49) --- net/ntp/files/patch-libaprse_clk_wharton.c | 11 +++++++++++ net/ntp/files/patch-libparse_clk_hopf6021.c | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/net/ntp/files/patch-libaprse_clk_wharton.c b/net/ntp/files/patch-libaprse_clk_wharton.c new file mode 100644 index 000000000000..82df28d4e25b --- /dev/null +++ b/net/ntp/files/patch-libaprse_clk_wharton.c @@ -0,0 +1,11 @@ +--- libparse/clk_wharton.c.orig 2023-06-06 04:33:42.000000000 -0700 ++++ libparse/clk_wharton.c 2023-06-06 06:36:02.108114000 -0700 +@@ -9,6 +9,8 @@ + #include <config.h> + #endif + ++#include <ntp_types.h> ++ + #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_WHARTON_400A) + /* + * Support for WHARTON 400A Series clock + 404.2 serial interface. diff --git a/net/ntp/files/patch-libparse_clk_hopf6021.c b/net/ntp/files/patch-libparse_clk_hopf6021.c new file mode 100644 index 000000000000..9b43334551c6 --- /dev/null +++ b/net/ntp/files/patch-libparse_clk_hopf6021.c @@ -0,0 +1,11 @@ +--- libparse/clk_hopf6021.c.orig 2023-06-06 04:33:42.000000000 -0700 ++++ libparse/clk_hopf6021.c 2023-06-06 06:36:00.964222000 -0700 +@@ -20,6 +20,8 @@ + # include <config.h> + #endif + ++#include <ntp_types.h> ++ + #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_HOPF6021) + + #include "ntp_fp.h"