From nobody Mon Aug 28 16:35:33 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 4RZGPx6JYdz4rk9h; Mon, 28 Aug 2023 16:35:33 +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 4RZGPx5mRjz3HnX; Mon, 28 Aug 2023 16:35:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693240533; 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=hjmS44QRx6Zj1h2kfQOv552wlpECRFaNOkcRbGZYRKI=; b=lBoNKe2VKF+k+6FP4X1Tt2yrF5DEVT9gPADRUE7jyxHChD2H1Taxcm5SAAKloMXYdC031u H0OCnIi426+rWNa62pfvzRUM1UzpbA8jd4pWhENrvv6/fckBO7yFC6DbeDkZiqGhdQZIAe fhBMVPJvuCbKHPBSrTewJM2f0BVl0H9yQosgsHz7BY3hqEo/IMV/ay3qp6NWqQ00YaGvf4 o6/X9KIPA4d/97YiGVc/3wwBB8vEImN6y+6J8JvAr8sG/EhsPgGKj6W53Gzdoel1vjMmc8 K10aQxhaXL252po1RIqGYEys1v+ehZUpkdgfjhRh2SbckNISLV2TRok0poR+OA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693240533; a=rsa-sha256; cv=none; b=V7kn9bel7EaoDPMhCDBvNeKHMdBgnASkaOsuXNn6l7UFpC1BHMZNaCgovvIz+DQ+dyFuRd wG4W6ubbXTmgk89/xnmGrUbb0D8eqOBuQ5vhpg5JLoj1lL1QWVrq1xwq0t0LbjZcYFqSlw /EP/OSe6EnO3TIgfvpR7aZ8uXFOTzZa3Xiymw0oqwAkjfPzlHNymAsyXEPElNBSHe39GpH lUpukSwt5wSt7hMKluVfVC0hgSxfGBH1jEw5NSgksb388P3Vr7yM/DOhIXOd+ZfVGRm2dK 2zSn2w68gAx6PjyLk8TaXqXbUki1vJjxS3NKpjO2oYfbsErrhworq4op6Ulf6Q== 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=1693240533; 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=hjmS44QRx6Zj1h2kfQOv552wlpECRFaNOkcRbGZYRKI=; b=tPwleW8ZRWLzJ+z4Afof+n2gMlsojCbkdupcM/nfWmgdpWx++gnnFXgvewL9g4eQW5h6EW K+jRQf2uBpMjJ1rP6k0iNPIuQGgJ1L28AnggwaLd2s1QJrWsfJM4BlT6gxn1b0QIXsZ+ll jD/KZBm83bj5DTKuvekQktAnKBDFOeKN+m2gIc9emJsnWg7+VvUtoC88c6TH0abY2R4Tl0 RPVuuG6dxWRvo1odrEpzn1miOEwgON6S961u8jUWbF971QnpizqbtAW0d66NfvT8eSteLi 33AzHRCXz1dKqYWpCAjj3hOXWIF/dHK0tDsMWDQ4Ak6WHLCmSUfADr8w91Cy/A== 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 4RZGPx4n8tz25w; Mon, 28 Aug 2023 16:35:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37SGZXFG077173; Mon, 28 Aug 2023 16:35:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37SGZXYa077170; Mon, 28 Aug 2023 16:35:33 GMT (envelope-from git) Date: Mon, 28 Aug 2023 16:35:33 GMT Message-Id: <202308281635.37SGZXYa077170@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: 3a86f14adefa - main - security/pam-modules: Fix build with LLVM15, assume maintainership 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: 3a86f14adefaed32f83737b359f80d80f28eec53 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a86f14adefaed32f83737b359f80d80f28eec53 commit 3a86f14adefaed32f83737b359f80d80f28eec53 Author: Cy Schubert AuthorDate: 2023-08-28 14:00:57 +0000 Commit: Cy Schubert CommitDate: 2023-08-28 16:35:26 +0000 security/pam-modules: Fix build with LLVM15, assume maintainership Fix: pam_innetgr.c:134:16: error: incompatible function pointer types passing 'int (char *, int)' to parameter of type 'int (*)(char *, size_t)' (aka 'int (*)(char *, unsigned long)') [-Wincompatible-function-pointer-types] if (xgetname(getdomainname, &domainname)) { ^~~~~~~~~~~~~ pam_innetgr.c:65:16: note: passing argument to parameter 'getfn' here xgetname(int (*getfn)(char *, size_t), char **storage) ^ 1 warning and 1 error generated. *** [pam_innetgr.lo] Error code 1 While at it assume maintainership. --- security/pam-modules/Makefile | 2 +- security/pam-modules/files/patch-pam__innetgr_pam__innetgr.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/security/pam-modules/Makefile b/security/pam-modules/Makefile index db1b98305174..f6ddc291a0a7 100644 --- a/security/pam-modules/Makefile +++ b/security/pam-modules/Makefile @@ -3,7 +3,7 @@ PORTVERSION= 2.5 CATEGORIES= security MASTER_SITES= ftp://download.gnu.org.ua/pub/release/pam-modules/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cy@FreeBSD.org COMMENT= Collection of modules for PAM WWW= https://puszcza.gnu.org.ua/software/pam-modules/pam-modules.html diff --git a/security/pam-modules/files/patch-pam__innetgr_pam__innetgr.c b/security/pam-modules/files/patch-pam__innetgr_pam__innetgr.c new file mode 100644 index 000000000000..8d0193e20744 --- /dev/null +++ b/security/pam-modules/files/patch-pam__innetgr_pam__innetgr.c @@ -0,0 +1,11 @@ +--- pam_innetgr/pam_innetgr.c.orig 2022-02-04 07:04:47.000000000 -0800 ++++ pam_innetgr/pam_innetgr.c 2023-08-28 06:57:10.213329000 -0700 +@@ -131,7 +131,7 @@ + return -1; + #if HAVE_GETDOMAINNAME + if (use_getdomainname) { +- if (xgetname(getdomainname, &domainname)) { ++ if (xgetname((long int *) getdomainname, &domainname)) { + _pam_log(LOG_ERR, "getdomainname: %s", strerror(errno)); + } else if (strcmp (domainname, "(none)") == 0) { + free(domainname);