Received: by mail.netbsd.org (Postfix, from userid 605) id 842C384DDD; Sat, 10 Apr 2021 08:43:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BE37384D69 for ; Sat, 10 Apr 2021 08:43:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at 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 pJDSY396sVKc for ; Sat, 10 Apr 2021 08:43:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 4395084D58 for ; Sat, 10 Apr 2021 08:43:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3A7DFFA95; Sat, 10 Apr 2021 08:43:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161804420867690" MIME-Version: 1.0 Date: Sat, 10 Apr 2021 08:43:28 +0000 From: "Benny Siegert" Subject: CVS commit: [pkgsrc-2021Q1] pkgsrc/emulators/qemu51 To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20210410084328.3A7DFFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161804420867690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Sat Apr 10 08:43:28 UTC 2021 Modified Files: pkgsrc/emulators/qemu51 [pkgsrc-2021Q1]: Makefile Log Message: Pullup ticket #6439 - requested by nia emulators/qemu51: bugfix Revisions pulled up: - emulators/qemu51/Makefile 1.2 --- Module Name: pkgsrc Committed By: nia Date: Thu Apr 8 13:29:42 UTC 2021 Modified Files: pkgsrc/emulators/qemu51: Makefile Log Message: qemu51: correct path to OSS audio device To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/emulators/qemu51/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_161804420867690 Content-Disposition: inline Content-Length: 1429 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/emulators/qemu51/Makefile diff -u pkgsrc/emulators/qemu51/Makefile:1.1 pkgsrc/emulators/qemu51/Makefile:1.1.2.1 --- pkgsrc/emulators/qemu51/Makefile:1.1 Sat Feb 20 22:55:19 2021 +++ pkgsrc/emulators/qemu51/Makefile Sat Apr 10 08:43:28 2021 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2021/02/20 22:55:19 ryoon Exp $ +# $NetBSD: Makefile,v 1.1.2.1 2021/04/10 08:43:28 bsiegert Exp $ DISTNAME= qemu-5.1.0 -PKGREVISION= 13 +PKGREVISION= 14 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ EXTRACT_SUFX= .tar.xz @@ -93,6 +93,16 @@ REPLACE_PERL+= scripts/texi2pod.pl INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/qemu +.include "../../mk/oss.buildlink3.mk" + +.if ${OSS_TYPE} != "none" +SUBST_CLASSES+= oss +SUBST_STAGE.oss= pre-configure +SUBST_MESSAGE.oss= Correcting the path to the OSS device. +SUBST_FILES.oss+= audio/ossaudio.c +SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g" +.endif + UE_ARCHS+= aarch64 aarch64_be UE_ARCHS+= alpha arm armeb cris UE_ARCHS+= hppa @@ -160,10 +170,6 @@ post-install: cd ${DESTDIR}${PREFIX} && \ ${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC -# On Darwin, qemu uses CoreAudio -.if ${OPSYS} != "Darwin" -.include "../../mk/oss.buildlink3.mk" -.endif .include "../../archivers/lzo/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/jemalloc/buildlink3.mk" --_----------=_161804420867690--