From nobody Tue Sep 27 06:03:45 2022 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 4Mc8FY3mfjz4V8hf; Tue, 27 Sep 2022 06:03:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mc8FY3FG6z3jLh; Tue, 27 Sep 2022 06:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664258625; 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=zOVYItTH+0gW9IQUvUmMH2QpFLt31u9EpuiHWmMfzzE=; b=tCW+FNb78cYUl5ZzysyPRZTqIa9qVQXLfhW63PJzvQ3hj7k7QrtBobZYLbQg7aZjscsNhI VLxHEz+Cap2JWK4bKEYPBwfFejkULaVmByX+W1JTrWk/aqWRSLiW4BLQlhWMdfzGW/UlfW 4VkBjJhPBEIP8sj4oTrR8iQU5Q2y4nrsJiE3yi3G8YpQQMJjqQ41qzJg2OFpNYO+cCNln+ mnVDeknFYQsH1kOfZgQrhLZKyX42HphsljphKy7PV7FBYjoT8p9Vk5zMx2SYAuMqhXgHSP GhRmKRDk0wDcCAveDJyXlw4o2P3dn6qNdXO2PcUEP3NeQEEHgl+5Nufn3jQa8g== 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 4Mc8FY2GY2z12CN; Tue, 27 Sep 2022 06:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28R63jxI033427; Tue, 27 Sep 2022 06:03:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28R63jMF033426; Tue, 27 Sep 2022 06:03:45 GMT (envelope-from git) Date: Tue, 27 Sep 2022 06:03:45 GMT Message-Id: <202209270603.28R63jMF033426@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: a32417780081 - main - news/nntp: fix a compiler warning 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a3241778008152ee490b7762de0f962c8ac40118 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664258625; 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=zOVYItTH+0gW9IQUvUmMH2QpFLt31u9EpuiHWmMfzzE=; b=p/p2c/GyjXYClZp/lHvXlfNhpiehOn/vXjM78pvBJwO1y+rQwX4L2FdN/IBpatOKLxoLYP jXao+HzPf7qjvYzm75wahmlf1v3ixrigwfcZxsPFj62YCh9TVFRMeipuei/UIfBd7eJHgx 8HEBWw4QhLczKvqVrk0DpNloHFNoJpKzjPuIiC0QKM6/I/w3nztcThz37f+MntZ7/asIq5 bS5/U4R3gTYXapLvFt7zfj0/wO912vDjKQChG91RQ1d0JJ055Gi3cYB4SMZdZRCTfNCl1i Sj5+f9MjDotO6BXz+NpYG2429zfO7Nghk5qWk1a6cgvPAP2M0ho3QsHzTh2EIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664258625; a=rsa-sha256; cv=none; b=GGFJBITc21p7M5+I8xV62VK892Aek6+X4WtSaI6aBjCYEDIvUnRFz6YrqwXxa8Pc+IOh8P 4DkSpilC+tXiv/GzH6P8raBAz0QmvrspqnARkCISg3/tghbogps+HWyPdG3ADWuMDV6YEv Dgk7RIe+gLenZFm2ADooBVWMaSi8xmsuPHALCn7e2EZmb2EZXwxyeJYFlCko8Una8RN7C8 c4PCmajhoZ3fVmzw2wz5ScMisJq/L08rVw1toWNSVa/jsymAeg0e83i6LTF1MvTWSExNkC m3WXRm4PTFmRUCJbhS63wYI2xmMMPRTJBEcNVJgoBhkzIEOfhYIwXyWYwD4h8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3241778008152ee490b7762de0f962c8ac40118 commit a3241778008152ee490b7762de0f962c8ac40118 Author: Dirk Meyer AuthorDate: 2022-09-27 06:03:31 +0000 Commit: Dirk Meyer CommitDate: 2022-09-27 06:03:31 +0000 news/nntp: fix a compiler warning --- news/nntp/files/patch-xfer-nntpxfer.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/news/nntp/files/patch-xfer-nntpxfer.c b/news/nntp/files/patch-xfer-nntpxfer.c new file mode 100644 index 000000000000..94de45437f4d --- /dev/null +++ b/news/nntp/files/patch-xfer-nntpxfer.c @@ -0,0 +1,18 @@ +--- xfer/nntpxfer.c.orig 1996-01-09 07:28:03 UTC ++++ xfer/nntpxfer.c +@@ -547,12 +556,14 @@ char *articleid; + int len; + #endif + char id[BUFSIZ]; ++#ifndef CNEWS + char *p; ++#endif + + /* remove any case sensitivity */ + (void) strcpy(id, articleid); +- p = id; + #ifndef CNEWS ++ p = id; + while (*p) + { + if (isupper(*p))