Files
FreeBSD-ports/net/echoping/files/extra-patch-idn2-echoping.h
Eugene Grosbein 3b869d8f71 net/echoping: readd the port
echoping is non-default optional but very useful dependency
of the SmokePing (net-mgmt/smokeping). I use the software and
will maintain the port.

While here, make it possible to build echoping with GNU dns/libidn2
instead of dns/libidn. For now, still use libidn to preserve POLA.

Default build not changed comparing with one before removal,
so PORTREVISION not bumped.
2025-05-05 02:36:07 +07:00

13 lines
339 B
C

--- echoping.h.orig 2025-05-05 00:28:45.991560000 +0700
+++ echoping.h 2025-05-05 01:41:01.729365000 +0700
@@ -52,8 +52,7 @@
#endif
#ifdef LIBIDN
-#include <stringprep.h> /* stringprep_locale_to_utf8() */
-#include <idna.h> /* idna_to_ascii_from_utf8() */
+#include <idn2.h> /* idna_to_ascii_from_utf8() */
#endif
#ifndef FALSE