From nobody Wed Jan 10 00:18:27 2024 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 4T8pLC4pTnz56wk3; Wed, 10 Jan 2024 00:18:27 +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 4T8pLC34Jdz4WkC; Wed, 10 Jan 2024 00:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704845907; 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=hAHmLaNRXUbjhECqbhc/lUG9rYXc94Bj4GMpK8r/jaE=; b=qKtqtMaQnRN7+qKfUcSF3SHYgPGwDq2+wUixa72a4n3xSWVH3MUJMh/q5ifZqe94wIT8Il tdbQZNCHP6Bc9ENBOI7sdaOrgXmPgtRyZ4wDFhXokXweX3oMg/VWA5bVnE0fO+V4ZrMu/u F4mMoarE7Eqtz2ZwfLt9pYdnugMgqXkTJD5w0n674s6xQzPB4aqiezGUXSN5iKNlnJCq0Y P/u668qyB5DuwjyEPZzrn1dC+hG/uCzabRpWhHe0bPgiJRJGzcn1G3sBknax8WbussLsgE HPblQYXbMnB0N0MRSGNicYLG4Lo9YuJEi9z9JwkWX/OF25uRUQMB+mGfYuI7rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704845907; 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=hAHmLaNRXUbjhECqbhc/lUG9rYXc94Bj4GMpK8r/jaE=; b=fGiKxdyA+4lQOLahUpy7OqJv9GoknSRjNRwggZYW0LHz56ou6vSCLdmQgMGWOsKHdZt77p /7iQA2aQGUzKM4IWxHD+wlkeOo7A74+RYOZg7QZ/8nQk8yz++XNV0FvClXW/q5MiUkXt5+ kOfuwqZyNB/cBTPe3fK6oZWWSGluCnzQLuae5Wn33BkpLeeVBHA31hkGSmDu2/dJCaUEZQ iJm9GrBbOR9SaIC3NCwFGgPwFwcQBA4tn60tqbm60agaff5CRiLOTjRkAkjJfdPBrvcwch wFdopcJ41zJHkP782bWlc0N1BLpBkdJQMY3ThCEg35PHtx+WwaDewHKsWwWPtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704845907; a=rsa-sha256; cv=none; b=xbnexcxd5nMt2TtitcLLKWdMesbsvPsLCZrkfbmfLhcRnZRfPvWVAQJjwKgYBvpgVsOMqM log8lPqWK1iH9bmOkeeSZLA980hq9anZ5L6d53SkTUNL886kPLuxanHJovUkOriJL6kvRR n64cBkYd/3f7g3DbrJ3lEVN9NnKXAYoxSXEEXkPcgfA97zuitO6+cdqrzSR1vUMvUwoitc 9/WXso0GSxrmF21lGjdfTO3hbJh5wH8yBWa+vgDdCGdf1r7FTKoe+MsMwJ3e9iQnKjUwYI WMbU/jKmBARD0Rgd0teEv1atyfjhDH95RSU8c/TtOLwyqeQsDmblEOk6yLeQvw== 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 4T8pLC2930z1BYl; Wed, 10 Jan 2024 00:18:27 +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 40A0IRHg021172; Wed, 10 Jan 2024 00:18:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40A0IRLt021169; Wed, 10 Jan 2024 00:18:27 GMT (envelope-from git) Date: Wed, 10 Jan 2024 00:18:27 GMT Message-Id: <202401100018.40A0IRLt021169@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 35b5dec477c7 - main - audio/kmix: Fix OSS backend support 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: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 35b5dec477c73d1f3c81d00cdabd027c78040637 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=35b5dec477c73d1f3c81d00cdabd027c78040637 commit 35b5dec477c73d1f3c81d00cdabd027c78040637 Author: Jason E. Hale AuthorDate: 2024-01-10 00:11:27 +0000 Commit: Jason E. Hale CommitDate: 2024-01-10 00:18:22 +0000 audio/kmix: Fix OSS backend support PR: 273476 Reported by: vvd MFH: 2024Q1 --- audio/kmix/Makefile | 1 + audio/kmix/files/patch-CMakeLists.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/audio/kmix/Makefile b/audio/kmix/Makefile index f74c773efbd9..73b092b2417b 100644 --- a/audio/kmix/Makefile +++ b/audio/kmix/Makefile @@ -1,5 +1,6 @@ PORTNAME= kmix DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= audio kde kde-applications MAINTAINER= kde@FreeBSD.org diff --git a/audio/kmix/files/patch-CMakeLists.txt b/audio/kmix/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..e1ea15bb1724 --- /dev/null +++ b/audio/kmix/files/patch-CMakeLists.txt @@ -0,0 +1,16 @@ +The OSS4 backend doesn't currently work on FreeBSD. Use the OSS3 backend +as a fallback instead. + +PR: 273476 + +--- CMakeLists.txt.orig 2024-01-09 20:14:13 UTC ++++ CMakeLists.txt +@@ -126,7 +126,7 @@ if (HAVE_SOUNDCARD_H OR HAVE_SYS_SOUNDCARD_H) + + if (${TEST_COMPILE_RESULT} AND (${TEST_RUN_RESULT} EQUAL 0)) + message(STATUS "Detected OSS version ${TEST_RESULT_VERSION}") +- if (${TEST_RESULT_VERSION} GREATER_EQUAL 0x040000) ++ if (${TEST_RESULT_VERSION} GREATER_EQUAL 0x040000 AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + message(STATUS "Building with OSS 4 support") + set(HAVE_OSS_4 true) + add_definitions(-DHAVE_OSS_4)