From nobody Mon Mar 20 10:59:09 2023 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 4PgBZ562LGz40Yrc; Mon, 20 Mar 2023 10:59:09 +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 4PgBZ55RLfz4Q0h; Mon, 20 Mar 2023 10:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679309949; 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=TLbjLHJVATFxWXj6oD+5wZi//JXheTL3zXBrF6gWAxU=; b=QsslklO5Ddq/zx02v2oH8n95VrsJrrIxIv2PfsIEe8DaibxkwAiS+pzQPpjt9qLkZxm3mA /1Flr7W3kb1MiS5oWG3mn+rFjhpx2c6BbLl7YdiyfsNKDFQvacz7nqX8uq0GCdf5Cv1UuH BL7EsVuHNvU0ChcwwoKlnhzgBYfbrwMcA6SAilB9+zoyCqhXpH4OEha446W8lhqO0LNu1j vXXhPk6coJpyTyhCnByihw1c0m8lNILfYFfrf97Egcc57MuOb6J7EMysSOlcT5m+1WxRcV RichZiUwfzY5UW7w4PAErj3Wnez6EOAvM4rJQadrnbV3rAdHtZ4YVEyZG7Kagg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679309949; 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=TLbjLHJVATFxWXj6oD+5wZi//JXheTL3zXBrF6gWAxU=; b=XUMN1zHTyAqfjY2JC5iUKwUDoPId4W3fhs5Ncuf3tJiaJ0RW67JiB1Q+gmR21FU9JcxS5W iTptHvst2veuF6j1sYXAAxHBf+/M9tnwZ7uzCCXQKnoUPypSwRSlVUMQKbdjMd9HxTb59f TWlUY+rT+BJk+x9jgbikU4DqAcvBcbOPzeZPKzHOVDwwaLMhYGiTVMMQw/3I5juoCKQ893 8fuQiC/CxgeaJwXwnDe5JiDI/5OTZs0vka8B4Fa236bHwRXXba5NWSjerH60Y/7DMCOhzI WY9UXvl0ROexWFBz7LlOqGAPMoFnEAqacTGrv2NI/pSKeFo5lzfm21HpWxcVNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679309949; a=rsa-sha256; cv=none; b=aZaMy6jBze1f9mTbPFUmSomsXVUuPceHnQxh7OuP12MkOxtfh8pDg6C2+w1GQzAK/PKAfc 7ZHta+oMynVjO9zlPX3VS/0bU4jPvE3/FhiSJjjfrSi/BIeLI1wpvROfIx6im1HzW1eLeV t3K8Ujwa+FUOyygVCMJmsdr7qHUBG9dpZq9fbpD7TfLrvfAbvju/f00loOaHrlaWjSvojX /3h/pA7dZlhZ9MMtbgQyOiTtpB9E9bUXSQi2TGl08j85JwfyrL9LxIDtayARjFyo4FYQtw RFEKASSth0XSHnEA6+EAsusSfmV50oySmU0Du0IPVbdYGKdYKHLo2viDGRtBsg== 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 4PgBZ54WcGzS2k; Mon, 20 Mar 2023 10:59:09 +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 32KAx9tS011587; Mon, 20 Mar 2023 10:59:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32KAx9Ba011586; Mon, 20 Mar 2023 10:59:09 GMT (envelope-from git) Date: Mon, 20 Mar 2023 10:59:09 GMT Message-Id: <202303201059.32KAx9Ba011586@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alex Dupre Subject: git: 9cc717dde03b - main - security/opensc: another attempt to fix build on -CURRENT. 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: ale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9cc717dde03b56b54335c961eed6002bb754cc87 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ale: URL: https://cgit.FreeBSD.org/ports/commit/?id=9cc717dde03b56b54335c961eed6002bb754cc87 commit 9cc717dde03b56b54335c961eed6002bb754cc87 Author: Alex Dupre AuthorDate: 2023-03-20 10:57:44 +0000 Commit: Alex Dupre CommitDate: 2023-03-20 10:57:44 +0000 security/opensc: another attempt to fix build on -CURRENT. --- security/opensc/files/patch-src_tools_pkcs11-tool.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/security/opensc/files/patch-src_tools_pkcs11-tool.c b/security/opensc/files/patch-src_tools_pkcs11-tool.c new file mode 100644 index 000000000000..41f40d4461a8 --- /dev/null +++ b/security/opensc/files/patch-src_tools_pkcs11-tool.c @@ -0,0 +1,19 @@ +--- src/tools/pkcs11-tool.c.orig 2023-03-20 10:54:36 UTC ++++ src/tools/pkcs11-tool.c +@@ -7301,7 +7301,6 @@ static int test_random(CK_SESSION_HANDLE session) + CK_BYTE buf1[100], buf2[100]; + CK_BYTE seed1[100]; + CK_RV rv; +- int errors = 0; + + printf("C_SeedRandom() and C_GenerateRandom():\n"); + +@@ -7344,7 +7343,7 @@ static int test_random(CK_SESSION_HANDLE session) + + if (memcmp(buf1, buf2, 100) == 0) { + printf(" ERR: C_GenerateRandom returned twice the same value!!!\n"); +- errors++; ++ return 1; + } + + printf(" seems to be OK\n");