git: a19e26ecdd69 - main - net/arp-sk: Fix build with libnet 1.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 16:02:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a19e26ecdd698afd12cc89f2e98580408fc46ad0

commit a19e26ecdd698afd12cc89f2e98580408fc46ad0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:21:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 16:00:11 +0000

    net/arp-sk: Fix build with libnet 1.3
---
 net/arp-sk/files/patch-configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/arp-sk/files/patch-configure b/net/arp-sk/files/patch-configure
index 28bcdf9e3360..5a3340c6c726 100644
--- a/net/arp-sk/files/patch-configure
+++ b/net/arp-sk/files/patch-configure
@@ -6,8 +6,8 @@
  
 -echo "$as_me:$LINENO: checking for version 1.1.x of libnet" >&5
 -echo $ECHO_N "checking for version 1.1.x of libnet... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for version 1.2.x of libnet" >&5
-+echo $ECHO_N "checking for version 1.2.x of libnet... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for version 1.3.x of libnet" >&5
++echo $ECHO_N "checking for version 1.3.x of libnet... $ECHO_C" >&6
  
  if test "$cross_compiling" = yes; then
    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
@@ -16,7 +16,7 @@
  int main()
  {
 -   return (strncmp(LIBNET_VERSION, "1.1.", 4));
-+   return (strncmp(LIBNET_VERSION, "1.2", 3));
++   return (strncmp(LIBNET_VERSION, "1.3", 3));
  }
  
  _ACEOF