From nobody Thu Sep 22 11:26:39 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 4MYCfR6q17z4d6kf; Thu, 22 Sep 2022 11:26:39 +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 4MYCfR63lGz3w8C; Thu, 22 Sep 2022 11:26:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663845999; 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=5z9PM2VUKahYJXEpMyRNU888+S8sN7SFM284Ho9QHmg=; b=P3SZWTPfkvjx6uSZDw3DkfxTz1rdXDRll+9EnpYTqn8p7xcTiSDioPQRx2jpI2Lrja49Zw Ot0M9jHoljZA7BMcQVi6FkXu7JL11Hpi+gOoV0NXnnot1yPoT3V830xPlOxSHRYu84xK52 9gG0z+7s/7PNnNhte3wTZ5hx82akr7SEQJUdvl/tfbQ+FgFCCGDxHxMjNd+O3mbCT6Geq5 E3x6cNnzD0O/cBzUMTpWzcJk11if7nidjXLQVxMRWCeBZU5OtxAyJdwr6ghamBOTNj51G4 e/F3xqhV9PprPelm3g339fkC+0AegqX8zSo2rKG2IRXvVNKRKSELBhAocmPiaA== 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 4MYCfR4zx8zP5y; Thu, 22 Sep 2022 11:26:39 +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 28MBQdPs089442; Thu, 22 Sep 2022 11:26:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28MBQddC089441; Thu, 22 Sep 2022 11:26:39 GMT (envelope-from git) Date: Thu, 22 Sep 2022 11:26:39 GMT Message-Id: <202209221126.28MBQddC089441@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 27cb6d67b3c5 - main - net/beanstalkd: fix build on 32-bits by specifying correct format specifier 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27cb6d67b3c56f090689325d5f9ee49da8980215 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663845999; 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=5z9PM2VUKahYJXEpMyRNU888+S8sN7SFM284Ho9QHmg=; b=mxM2W/wzukw5tnMJ4REnwEw+WUr0C884x/Hyipls0CPWKGjFs9xQVVQKBuqDl7YEd8+M3z J0Q/CabPNvdxDQxQum20IYoi4mPb9xOW5G9rNaEvttzW0pPEc+uSPGeFAHW0TwPU6/9Fan V4PtnlwCF+fHkTanFmKTxPc5IbMPyHQZCdz8S3VIr2wwgnW7h6MEXJ5jsGwNhQaTNCKrBG b2HZ7AC58WPOYHD3oCf/dHS2BBEkpttxCHdyz8KB1WYbSCm/eXNTrVm2JiwLiWeY+hHC7g DSBF45uh9/ZZGAZ97CQBEAy6Ls16zSlbO/1ZKAExUVoZbltifklKgKk2azOBtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663845999; a=rsa-sha256; cv=none; b=IaGe3YQ1oRDUS2E2839aXgDBE6pTg0D/MUokpP2+xdRwroDrC1V/zlZphP+Ne7B2/Ep9js 9UXyz9BhwOPOM6SwnSqqLh6tRC9uyShRJhAK8oWd4S0pJvnEdvamtG6KeCFNy6cY2DEsq9 7Lm9MzIEatXGGtIO0X4NRXY+byelmjSVQbP5jbgKozRtbcwjPUQvedHNDZPWrByEkmQ6ud dwRlu+mDjyL9xeypEI/v3BuVdVc/eu5TFV4AMLafVCsdGCLur86DabPD/gIQTR1Z2xKZzY UfXMLmljU1YdSpTs+X59HPnH78J0jwZ8eZbuvwrOGlKNa03bK7bXWZKoil7VQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=27cb6d67b3c56f090689325d5f9ee49da8980215 commit 27cb6d67b3c56f090689325d5f9ee49da8980215 Author: Piotr Kubaj AuthorDate: 2022-09-22 10:13:38 +0000 Commit: Piotr Kubaj CommitDate: 2022-09-22 10:13:38 +0000 net/beanstalkd: fix build on 32-bits by specifying correct format specifier net.c:162:21: error: format specifies type 'long' but the argument has type 'unsigned int' [-Werror,-Wformat] path, strlen(path), maxlen); ^~~~~~~~~~~~ net.c:162:35: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] path, strlen(path), maxlen); ^~~~~~ --- net/beanstalkd/files/patch-net.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/net/beanstalkd/files/patch-net.c b/net/beanstalkd/files/patch-net.c new file mode 100644 index 000000000000..cbf825fe6aac --- /dev/null +++ b/net/beanstalkd/files/patch-net.c @@ -0,0 +1,11 @@ +--- net.c.orig 2022-09-17 01:28:31 UTC ++++ net.c +@@ -158,7 +158,7 @@ make_unix_socket(char *path) + memset(&addr, 0, sizeof(struct sockaddr_un)); + addr.sun_family = AF_UNIX; + if (strlen(path) > maxlen) { +- warnx("socket path %s is too long (%ld characters), where maximum allowed is %ld", ++ warnx("socket path %s is too long (%zu characters), where maximum allowed is %zu", + path, strlen(path), maxlen); + return -1; + }