From nobody Wed Oct 11 14:34:25 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 4S5Fdt1p8Pz4wDTg; Wed, 11 Oct 2023 14:34:26 +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 4S5Fdt0GXVz3Wbq; Wed, 11 Oct 2023 14:34:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697034866; 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=+Cwv52Meisiznq10851BXVGeUQgX1EGz82MsqiBPccc=; b=S22HT4e0CCWtoM22Dbhr9HQjR8kxN4bxazeE8iTig2A4edJKZRxr/uSS/m2qyEToE2flNm sIRAAJvH+u+IJh4bpeQqOEyp+jOyp3YNbE1kLN5OOGLfCK7JfID1UzyXHfi5zD5JYm7UTM Y0U23bWp0YQ4q2w8qFg8JIa+3Ez03//PP/NGYuUwH31/7+UJVqPNu5XOCsmYSXXaHQmD9t +nsc6hMxazQQTkLdrs7EV1F9WkQHh+qzu6GdovEXeQtGXC2LuqA0eP8aGqmH35meHzGP+C vy4jVY50P8DblTYqPVIe4pXjcZvnNSyjTeP/HB6FSanVkaTqATWoZu5V+jo/kA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697034866; a=rsa-sha256; cv=none; b=ISAbYD8TzovcpK7hiREIuZMgJUy21QZqL/VPVeGk2cjNCAU9y4ZzYhl7UeadUNXAn1i05m twJwH7A+Epq04gE8uz6wR1OGt1PJMDhrELtB4NfNSw2zkfhirtxcIa1EamwSxZB15d3qxZ w5xfEHIIjuuyGWlGS7LGWg/3zns5su/tWEuFTges5yYDRSsc3hVyNZN2XD+sAxAQGU5cB4 9CCsmgE2QntZw/vWKUq+qiEOL6Gk07E0tJvXddQBM4r5+gA1+CxAWpbgSglT8IcIOCbhtg mADZ7eU8tlC8269rGhhwpn9OJAzCn3ETnNx6QeYF9E7ufasRAgMgq8pncR4f2Q== 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=1697034866; 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=+Cwv52Meisiznq10851BXVGeUQgX1EGz82MsqiBPccc=; b=pShDtB4LlNsWAEOsMf2l1MZYmIZZPqNOEK2Ip+Cw2srLg0oNQzMbTzOV1SgrwMLkoxfbja gGWaDgIo1OeBQ2vOhLrC7auc+MTjULZJSj9v84hDHxV19HwWzxc53b0/XGG4BIB/HPp/Ki qlus+3Dyimtg0GSNhWqggz+lVT7Jc08shwTvN4UkHwKC/ehr0SfeKTy++hKMDiAboNKFGP GOey30NZok0/ep+qxxXbOUFpzy0TY8IysKL35xl1OaCA70tShSfnZojn2QFSgX0cW/zmp3 XT5mjbVEu8dz+vuM955GRO6qjdEiy9GOq3q7UPIgyNGOQ/lJpwFYD7a06gQScw== 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 4S5Fds64KQz9gf; Wed, 11 Oct 2023 14:34:25 +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 39BEYPJf007225; Wed, 11 Oct 2023 14:34:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BEYPZV007222; Wed, 11 Oct 2023 14:34:25 GMT (envelope-from git) Date: Wed, 11 Oct 2023 14:34:25 GMT Message-Id: <202310111434.39BEYPZV007222@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: 0815295e0b79 - main - multimedia/pipewire: unbreak on FreeBSD < 13.2 after ea9c61f86374 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: 0815295e0b7988daf05dc1665b4ff523c7083763 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0815295e0b7988daf05dc1665b4ff523c7083763 commit 0815295e0b7988daf05dc1665b4ff523c7083763 Author: Jan Beich AuthorDate: 2023-10-11 11:40:13 +0000 Commit: Jan Beich CommitDate: 2023-10-11 14:18:49 +0000 multimedia/pipewire: unbreak on FreeBSD < 13.2 after ea9c61f86374 In file included from ../src/modules/module-netjack2-manager.c:38: ../src/modules/module-netjack2/peer.c:2:10: fatal error: 'byteswap.h' file not found #include ^~~~~~~~~~~~ PR: 273258 --- .../files/patch-src_modules_module-netjack2_peer.c | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/multimedia/pipewire/files/patch-src_modules_module-netjack2_peer.c b/multimedia/pipewire/files/patch-src_modules_module-netjack2_peer.c new file mode 100644 index 000000000000..c815c5c7b85b --- /dev/null +++ b/multimedia/pipewire/files/patch-src_modules_module-netjack2_peer.c @@ -0,0 +1,23 @@ +Drop after FreeBSD 12.4 EOL around 2023-12-31. +https://cgit.freebsd.org/src/commit/?id=1dd126163b94 + +In file included from ../src/modules/module-netjack2-manager.c:38: +../src/modules/module-netjack2/peer.c:2:10: fatal error: 'byteswap.h' file not found +#include + ^~~~~~~~~~~~ + +--- src/modules/module-netjack2/peer.c.orig 2023-10-06 09:37:06 UTC ++++ src/modules/module-netjack2/peer.c +@@ -1,5 +1,12 @@ + ++#if __has_include() + #include ++#else ++#include ++#define bswap_16(x) bswap16(x) ++#define bswap_32(x) bswap32(x) ++#define bswap_64(x) bswap64(x) ++#endif + + #ifdef HAVE_OPUS_CUSTOM + #include