Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=x7cp6hc4; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=NFxSj5dA Received: by mail.netbsd.org (Postfix, from userid 605) id 212E084E72; Sat, 16 Mar 2024 17:38:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710610705; bh=MW/f506kP825em87wTnBhIeoCQRhzNgOg0uzCTB8WpY=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=x7cp6hc4SrR+YyEDGQk/1BsFa8vB2JK0kqcvxIjYrTwLtrlwj/Y8GLG/EfdNqnoD7 iccQy4kEDk0pezveyCMUKJ2qM4uL1GLOQaw6B9cGjR+i+dTSVEgNC/GjEeLhCqabjQ 08CUvTYQ8L8bTOJ1vEp06MS97vUrwbCTkt5iAJgs= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1516284E5A for ; Sat, 16 Mar 2024 17:38:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id iBygLTM7mb4r for ; Sat, 16 Mar 2024 17:38:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 676D984D0E for ; Sat, 16 Mar 2024 17:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710610703; bh=MW/f506kP825em87wTnBhIeoCQRhzNgOg0uzCTB8WpY=; h=Date:From:Subject:To:Reply-To; b=NFxSj5dAR3mLRPjiiPR1ohEUzz6FqNfkHpyukdx0vy1wUlWb1hLJTxNf5syfjUinc EEr7tIZC32wXTfi9Jsi0nfRTnWSWI6MlNA0/MhdoC0ziY3fBQQxt25DeSJIuB/fb3c WL57UAKc3pALlGzYGDhAAI5pIStGtYru++mdECRw= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5DB06FA2C; Sat, 16 Mar 2024 17:38:23 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_171061070398920" MIME-Version: 1.0 Date: Sat, 16 Mar 2024 17:38:23 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/audio/libao-macosx To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20240316173823.5DB06FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_171061070398920 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Sat Mar 16 17:38:23 UTC 2024 Modified Files: pkgsrc/audio/libao-macosx: Makefile Log Message: libao-macosx: Fix building on OS X versions before 10.6 To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/libao-macosx/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_171061070398920 Content-Disposition: inline Content-Length: 1004 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/libao-macosx/Makefile diff -u pkgsrc/audio/libao-macosx/Makefile:1.9 pkgsrc/audio/libao-macosx/Makefile:1.10 --- pkgsrc/audio/libao-macosx/Makefile:1.9 Tue Dec 24 05:07:45 2019 +++ pkgsrc/audio/libao-macosx/Makefile Sat Mar 16 17:38:23 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2019/12/24 05:07:45 dbj Exp $ +# $NetBSD: Makefile,v 1.10 2024/03/16 17:38:23 nia Exp $ .include "../../audio/libao/Makefile.common" @@ -15,5 +15,15 @@ BUILDLINK_API_DEPENDS.libao+= libao>=0.8 _LIBAO_BUILDING_PLUGIN= yes +.include "../../mk/bsd.fast.prefs.mk" + +.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100600 +CPPFLAGS+= -DAudioComponent=Component +CPPFLAGS+= -DAudioComponentDescription=ComponentDescription +CPPFLAGS+= -DAudioComponentFindNext=FindNextComponent +CPPFLAGS+= -DAudioComponentInstanceNew=OpenAComponent +CPPFLAGS+= -DAudioComponentInstanceDispose=CloseComponent +.endif + .include "../../audio/libao/buildlink3.mk" .include "../../mk/bsd.pkg.mk" --_----------=_171061070398920--