Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2024 15:09:12 GMT
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e1b2a2180d5a - main - net-mgmt/mac-telnet: Update to 0.5.1
Message-ID:  <202406191509.45JF9CEV040778@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by marcus:

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

commit e1b2a2180d5afbffc89b548cb643c06b8996d134
Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
AuthorDate: 2024-06-19 15:08:40 +0000
Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2024-06-19 15:08:40 +0000

    net-mgmt/mac-telnet: Update to 0.5.1
    
    The versioning changed, and this seems to be the new regular version
    cadence, so bump PORTEPOCH.
---
 net-mgmt/mac-telnet/files/patch-configure.ac | 13 +++++++++++++
 net-mgmt/mac-telnet/files/patch-src_mndp.c   | 15 +++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/net-mgmt/mac-telnet/files/patch-configure.ac b/net-mgmt/mac-telnet/files/patch-configure.ac
new file mode 100644
index 000000000000..5a37adf61b4f
--- /dev/null
+++ b/net-mgmt/mac-telnet/files/patch-configure.ac
@@ -0,0 +1,13 @@
+--- configure.ac.orig	2024-06-19 14:50:22 UTC
++++ configure.ac
+@@ -79,6 +79,10 @@ case "$host_os" in
+         AC_MSG_ERROR([pthreads library not found])
+     fi
+     ;;
++  freebsd*)
++    AC_CHECK_LIB([intl], [libintl_gettext], [HAVE_LIBINTL=yes], [HAVE_LIBINTL=no])
++    AC_CHECK_LIB([pthread], [pthread_create])
++    ;;
+   *)
+     ;;
+ esac
diff --git a/net-mgmt/mac-telnet/files/patch-src_mndp.c b/net-mgmt/mac-telnet/files/patch-src_mndp.c
new file mode 100644
index 000000000000..5e5f11e0bde4
--- /dev/null
+++ b/net-mgmt/mac-telnet/files/patch-src_mndp.c
@@ -0,0 +1,15 @@
+--- src/mndp.c.orig	2024-06-19 14:43:14 UTC
++++ src/mndp.c
+@@ -170,9 +170,12 @@ int mndp(int timeout, int batch_mode) {
+ 	return 0;
+ }
+ 
++#define ether_addr_octet octet
++
+ char *ether_ntoa_z(const struct ether_addr *addr) {
+ 	static char buf[18]; /* 12 digits + 5 colons + null terminator */
+ 	sprintf(buf, "%02x:%02x:%02x:%02x:%02x:%02x", addr->ether_addr_octet[0], addr->ether_addr_octet[1],
+ 			addr->ether_addr_octet[2], addr->ether_addr_octet[3], addr->ether_addr_octet[4], addr->ether_addr_octet[5]);
+ 	return buf;
+ }
++#undef ether_addr_octet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406191509.45JF9CEV040778>