From nobody Wed Feb 15 16:55:58 2023 X-Original-To: dev-commits-ports-all@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 4PH4323VYtz3qYGW; Wed, 15 Feb 2023 16:55:58 +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 4PH4322rfmz3t1c; Wed, 15 Feb 2023 16:55:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676480158; 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=CV9uKe/MYbraNi40cqDe7wQq/WeCeOHmX452J9tgR6A=; b=YXXgzsZ7VHVYiLQRMlnHckeTqk7DIXnehNBj1Y8XP1lYICI4YESPurtlFB0xQwQ7dYgsFn mMelHc3J2kZNwP4GrLUuHbOAenc+PzYGENKZfFYWMikqNdzdAyPEKOfROmHyYt5yUh3JT8 Id+Z7sBXVwWO+RIp+RQGjUY1vZ64HFGtLEf0gusmFnk8A9AvLLrDDVYG+WMjRybJJ3AxBj NvsjfpotVvHnMfyyw3ndpHp8aOFExd+niX7lMpdLGqG0UFNvmvKMR8pD6jYasBnsZBKxJn DnKqPg/XFrW4cxCMJ/QQPVkyLeX/kYSP35ZvEcB2iWSsU5m+zmVWvmUQWnk+fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676480158; 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=CV9uKe/MYbraNi40cqDe7wQq/WeCeOHmX452J9tgR6A=; b=N7HFh9It/nGmkEyBZK4d5nRru7BHgLJ8/BZpE/vRlJTEkbOsRKwPxziA+w4LOyDn+5RrLC w2p5bHGffJg/6gWbmFsfZD7KD+EFaJQ/RWEAUeaVNXxnOtw0kEDv6Rw76q5vB/65lB8++W lF9+89MZbGH80ze+HLx6FuocJNkgH+LzZavQ4Bvl2np7EpKBjuwMYViY7hhPq51GrT2e3H HLMM4mHQf7CPRi1YNdtiFec5Cz15QzKVChrXDDFOYUbGbywlNyBFbDkF8CDXhDqSHt7w5S /nwN0PphQU5QgiowPwWeBXQvgtZprqeDygcnDSx0spKoABf3tMLAen/lzHTnxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676480158; a=rsa-sha256; cv=none; b=dB0xjZ+hQbv7f14zokfbaQQdqR7LSWdKG61yQABqwoWWFPyXgw6rON5t//EBGCkksTt2uX /R6Lut0Lxnsc/oal2ITkTzJ0WdDBl8yYX9bBRpCS4xB5hQt47GD9zzCnmTio1Tdv3k8/wi XYMOyh/U1YVV0B8TrGznXXcrWlko+XL/ZEZqNkUDIMZlUkPxjAqZd4v3i0RxHggOdE8oGT sXjAgrPh7HXhAKu3w1TO5F31Zf3HJnzPXCh9N8pr9L0hTc7jmdB7IG0ostLUDv1z+qLLuA 5cjogB+7fqiLjCA1nSQsMXMMvD+I9cUmCVHGyoEGGeVGISfk0ofbOrYTiUHTxA== 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 4PH4321wzbzXDp; Wed, 15 Feb 2023 16:55:58 +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 31FGtwTY017089; Wed, 15 Feb 2023 16:55:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31FGtwKO017088; Wed, 15 Feb 2023 16:55:58 GMT (envelope-from git) Date: Wed, 15 Feb 2023 16:55:58 GMT Message-Id: <202302151655.31FGtwKO017088@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: f40f8b877c3a - main - net/44bsd-rdist: Permanently fix LLVM15 errors List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f40f8b877c3a162dbcc72acf2290732129fcbe93 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=f40f8b877c3a162dbcc72acf2290732129fcbe93 commit f40f8b877c3a162dbcc72acf2290732129fcbe93 Author: Cy Schubert AuthorDate: 2023-02-15 05:26:53 +0000 Commit: Cy Schubert CommitDate: 2023-02-15 16:55:02 +0000 net/44bsd-rdist: Permanently fix LLVM15 errors Fix: expand.c:182:19: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion] tp = lookup(cp, NULL, 0); ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' ^~~~~~~~~~~ --- net/44bsd-rdist/Makefile | 3 +-- net/44bsd-rdist/files/patch-expand.c | 13 +++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/net/44bsd-rdist/Makefile b/net/44bsd-rdist/Makefile index 49f707f31751..8066661f65c7 100644 --- a/net/44bsd-rdist/Makefile +++ b/net/44bsd-rdist/Makefile @@ -16,8 +16,7 @@ PLIST_FILES= bin/44bsd-rdist \ man/man1/44bsd-rdist.1.gz CFLAGS= -Wno-deprecated-non-prototype \ - -Wno-incompatible-library-redeclaration \ - -Wno-int-conversion + -Wno-incompatible-library-redeclaration post-extract: cd ${WRKSRC} ; co RCS/*,v diff --git a/net/44bsd-rdist/files/patch-expand.c b/net/44bsd-rdist/files/patch-expand.c index 4c052f4e4e89..dfa8ba4be4c7 100644 --- a/net/44bsd-rdist/files/patch-expand.c +++ b/net/44bsd-rdist/files/patch-expand.c @@ -1,5 +1,14 @@ ---- expand.c.orig 2013-09-17 23:46:26.681322944 -0700 -+++ expand.c 2013-09-18 00:29:13.792410201 -0700 +--- expand.c.orig 2023-02-14 21:23:14.429816000 -0800 ++++ expand.c 2023-02-14 21:25:25.393203000 -0800 +@@ -179,7 +179,7 @@ + savec = *tail; + *tail = '\0'; + } +- tp = lookup(cp, NULL, 0); ++ tp = lookup(cp, 0, 0); + if (savec != '\0') + *tail = savec; + if (tp != NULL) { @@ -309,7 +309,7 @@ return; goto patherr2;