From nobody Mon Aug 12 16:24:17 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WjKbP2XJbz5SbPM; Mon, 12 Aug 2024 16:24:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WjKbP1v7jz3yjW; Mon, 12 Aug 2024 16:24:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723479857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pqim96s/COBVjl5r3PmdkfNgVX6prKR/JlpaTKxMKIs=; b=gZyUITxZwpkStiL0qjgDSJoMuYn2dHwdW63c/Lb5wcrP0k1y+4Bnnw/Rs7RSbu4cSH/m2r 99366feD+6xvYK1UsUgq4Hz5wAN1T4fnbQEFNC/U4V0enCX8etnz+xCadTiQdXkJP744NO S4D9jkmGhHpUMEJmE9esJMoBs57Qj7/hstdN6xx7A/sRS6qBGL1IlouOBZoudVUngONW/V qTpTh1kp/jtlPD9i4lejigoPuMSnMIc3FrVNYUWhU3tEAndgbSqY1CxnZt4q0+s+0+itge /VVZ39FPq4Eff7w9ufXIvyP7VJGG9MfZn+QMNltUnPQARMWFDrQdMOQ0MzZ7Lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723479857; a=rsa-sha256; cv=none; b=FSg+g2h1OUjFLK/mUIkFIbySv6Rcc/Kjn8Zipqz/eqtJRQsZFDxxTpqk7Kefk+eAKgz0xn +FFXsp+fU3q/hCFPBGK9m3g8XcFV6nVqKE5TkHxOEs7hST5O+QLqM+Ziw40Vxhn516Y+nB Vi8t2wKWIV0mBft3KGOKzaoDdLVvhC0+9Cop0Yid1W5Hm9hR76GW9i7OVFNAU61JljFQDF KyR/nxWXlKXdaKoV7bXy/tT8Wvw2TEOS+GTZ/lCfF1qRXUW1q8IivgTteTWVVm0aZoxcE+ rNAbdIDSodB5dkRdpPw94lIceZ7Ob2n2eUKvbmIz/wx7TByE8B+6tcarFVrbPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723479857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pqim96s/COBVjl5r3PmdkfNgVX6prKR/JlpaTKxMKIs=; b=geAVnaMABnND8T3nQVM8PH8THqe2V3/ZG7CiglqC33+Yar1bYfPyJTVE3SaCLQYhWLAHim Cxvw6o5nR/R77aoQqONYrfmJTG2VCBPEqs2ZN8hPHEZyJJfz8JIKsnOWm/p4hHm7T7soIq 9W42vQ/2mF093OYC0bRMkKxYy5nIqrE7rVDmUVVj8PNy99RUsFU3bszcOzgwIvLz44RpFE sIRe8m2aZ7OsknZ41CK7cXUlWBL7XyEQNNFuTJ0oKUzjCIfwQV0d73jDkpUFDa6I0m2YO1 aB5yz46i/NXZcCeurWni0I6cjXJ/CKDF0WExrV7dJ0yjFrOoTar90csq9r3LHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WjKbP1V1fzb6V; Mon, 12 Aug 2024 16:24:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47CGOHVa095419; Mon, 12 Aug 2024 16:24:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47CGOHNR095416; Mon, 12 Aug 2024 16:24:17 GMT (envelope-from git) Date: Mon, 12 Aug 2024 16:24:17 GMT Message-Id: <202408121624.47CGOHNR095416@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brad Davis Subject: git: 6e99116af05f - main - net/liboping: Fix build List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e99116af05f23b37bb184effe49341b3b398539 Auto-Submitted: auto-generated The branch main has been updated by brd: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e99116af05f23b37bb184effe49341b3b398539 commit 6e99116af05f23b37bb184effe49341b3b398539 Author: Brad Davis AuthorDate: 2024-08-12 16:22:18 +0000 Commit: Brad Davis CommitDate: 2024-08-12 16:22:18 +0000 net/liboping: Fix build Pulled from https://github.com/octo/liboping/pull/61 PR: 280780 Approved by: garga Sponsored by: Rubicon Communications, LLC ("Netgate") --- net/liboping/Makefile | 1 + net/liboping/files/patch-src_oping.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/net/liboping/Makefile b/net/liboping/Makefile index f80846cfa7ed..9a76a24bc2c9 100644 --- a/net/liboping/Makefile +++ b/net/liboping/Makefile @@ -1,5 +1,6 @@ PORTNAME= liboping DISTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://noping.cc/files/ diff --git a/net/liboping/files/patch-src_oping.c b/net/liboping/files/patch-src_oping.c new file mode 100644 index 000000000000..29abecfc0daa --- /dev/null +++ b/net/liboping/files/patch-src_oping.c @@ -0,0 +1,30 @@ +--- src/oping.c.orig 2017-05-11 07:32:27 UTC ++++ src/oping.c +@@ -1125,7 +1125,7 @@ static int update_graph_prettyping (ping_context_t *ct + wattron (ctx->window, COLOR_PAIR(color)); + + if (has_utf8()) +- mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, symbol); ++ mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, "%s", symbol); + else + mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, symbolc); + +@@ -1223,7 +1223,7 @@ static int update_graph_histogram (ping_context_t *ctx + mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, ' '); + else if (has_utf8 ()) + mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, +- hist_symbols_utf8[index]); ++ "%s", hist_symbols_utf8[index]); + else + mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, + hist_symbols_acs[index] | A_ALTCHARSET); +@@ -1600,8 +1600,7 @@ static void update_host_hook (pingobj_iter_t *iter, /* + + HOST_PRINTF ("%zu bytes from %s (%s): icmp_seq=%u ttl=%i ", + data_len, context->host, context->addr, +- sequence, recv_ttl, +- format_qos (recv_qos, recv_qos_str, sizeof (recv_qos_str))); ++ sequence, recv_ttl); + if ((recv_qos != 0) || (opt_send_qos != 0)) + { + HOST_PRINTF ("qos=%s ",