From nobody Tue Apr 25 00:47:29 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 4Q53Hj4xSWz4674T; Tue, 25 Apr 2023 00:47:29 +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 4Q53Hj4GYGz4GGX; Tue, 25 Apr 2023 00:47:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682383649; 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=CNQy3u7YogvJPL4haO6mXnamY2hbI029K+bTHNiFKBc=; b=Z5q/oEmg3nZLLnAYPWjcPg9+S1cy9WPbVRGg++7fQTvQgOKC7iiLFpbFqqI60CBgkXd3Ir cpxyoXUEPdO8qookQhJpKt45LTgIHfDVM9ScFEbpE553ReKBl3TBHeoq5yE/2IHllmZ+q8 ZLUyW+AVKb498LhbLeYnkKTvLc/yDz6HMe+dxadUKXQhvv1zVqO0WWPSOcQCzHuBLf0ZuW mxhOdvWy1x+mKoidS/OxCxVZNtTAjRM27EC73oVqM8k5CBLt39E+Up98NyyYXDV63U03nr BuK1EwA+N6SCpHxS+R84iZEwZcvuGYSDodTcU2cGeItlFaoGb2D0tpXa5znAHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682383649; 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=CNQy3u7YogvJPL4haO6mXnamY2hbI029K+bTHNiFKBc=; b=JcsNdpMn+Vx0kiuWs6kGVUbzerYyp3zjSroBUBz15t/QS48fKWiTdcoGlCJ8ZSxXC/M0re +JT0hQIC7T69hF7HKrmQONv0rtOon4q6MbxF7X1CDyI4CwriB+IayjdH7CtG2oZCA+Y1WH fjhlS0ohCrNBWgZzFBjouBaPTwbmokjlaJxtA3oVhRKRl8+LHGHyT0bGLlfPLTw7VoX7J6 bw7XD415/5Fs4L2MuRWj6VaVYCz4qVLhjCXqCYsrEd1MHxnSk7vIJgiHT2bg9yaLCaJxhH iH/0BxmYxB1XDLXQIhJO0cBwRc75LlvO7e8eax1/c4CwNoMzPuDPdurxvKNvRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682383649; a=rsa-sha256; cv=none; b=lE4kE1Hd/z68CireVsDxBO3pFqUOUGfIhnKRV2q2g0qP4E4yPIqpEaTrUHARPd8Zt3JN7e J364RwPwHPqNaVOwROxuAfHGS0+IuHSVRya+GcUNR+lwTyQzDpUVUZviVw3MGn0cDVIsKs hfFt6XrmbNUUWqp2DkaWY7vMRRQhSSU8GLASJ/P3JOKtWST0ZfTXx3rCV/Okgrlas6rg5T nrUxl+CernCwv5igHJETZJyOLx0M5liYwO7K91VkT/Qk0SgqIP6+7qG20das6D0mwj+QWW XowOYAK7oQYJNpgrW6HhfRTbTHfpnC/tpIK1jYGXEknhdgl+4TAcsuc6vRt+Qg== 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 4Q53Hj369mzn51; Tue, 25 Apr 2023 00:47:29 +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 33P0lTg2074408; Tue, 25 Apr 2023 00:47:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33P0lTtI074407; Tue, 25 Apr 2023 00:47:29 GMT (envelope-from git) Date: Tue, 25 Apr 2023 00:47:29 GMT Message-Id: <202304250047.33P0lTtI074407@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: a50457696509 - main - multimedia/dav1d: unbreak TEST=on on FreeBSD < 13 after 17e9745faede 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a50457696509832e70738d2afa9f68e11ab4e171 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=a50457696509832e70738d2afa9f68e11ab4e171 commit a50457696509832e70738d2afa9f68e11ab4e171 Author: John Hein AuthorDate: 2023-04-21 21:03:56 +0000 Commit: Jan Beich CommitDate: 2023-04-25 00:44:41 +0000 multimedia/dav1d: unbreak TEST=on on FreeBSD < 13 after 17e9745faede ../tests/checkasm/checkasm.c:623:13: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ PR: 270977 Reported by: Ross McKelvie --- multimedia/dav1d/files/patch-freebsd12 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/multimedia/dav1d/files/patch-freebsd12 b/multimedia/dav1d/files/patch-freebsd12 new file mode 100644 index 000000000000..6376c4a5a863 --- /dev/null +++ b/multimedia/dav1d/files/patch-freebsd12 @@ -0,0 +1,19 @@ +Drop after FreeBSD 12.4 EOL around 2023-12-31 +FreeBSD >= 13.1 pulls cpu_set_t from via + +https://cgit.freebsd.org/src/commit/?id=379bfb2aa9e9 + +--- tests/checkasm/checkasm.c.orig 2023-02-14 16:39:08 UTC ++++ tests/checkasm/checkasm.c +@@ -620,7 +620,11 @@ int main(int argc, char *argv[]) { + fprintf(stderr, "checkasm: running on cpu %lu\n", affinity); + } + #elif defined(HAVE_PTHREAD_SETAFFINITY_NP) && defined(CPU_SET) ++#if defined(__FreeBSD__) && __FreeBSD__ < 13 ++ cpuset_t set; ++#else + cpu_set_t set; ++#endif + CPU_ZERO(&set); + CPU_SET(affinity, &set); + if (pthread_setaffinity_np(pthread_self(), sizeof(set), &set)) {