From owner-svn-ports-head@freebsd.org Tue Dec 24 13:36:50 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C938B1E8A5F; Tue, 24 Dec 2019 13:36:50 +0000 (UTC) (envelope-from crees@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47hy1Z4whwz3MYX; Tue, 24 Dec 2019 13:36:50 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A44DDE03; Tue, 24 Dec 2019 13:36:50 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBODaosC038445; Tue, 24 Dec 2019 13:36:50 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBODaoNA038444; Tue, 24 Dec 2019 13:36:50 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201912241336.xBODaoNA038444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Tue, 24 Dec 2019 13:36:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520805 - in head/audio/oss: . files X-SVN-Group: ports-head X-SVN-Commit-Author: crees X-SVN-Commit-Paths: in head/audio/oss: . files X-SVN-Commit-Revision: 520805 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2019 13:36:50 -0000 Author: crees Date: Tue Dec 24 13:36:50 2019 New Revision: 520805 URL: https://svnweb.freebsd.org/changeset/ports/520805 Log: audio/oss: Silence further compiler warning; perhaps this will help. Modified: head/audio/oss/Makefile head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c Modified: head/audio/oss/Makefile ============================================================================== --- head/audio/oss/Makefile Tue Dec 24 13:16:37 2019 (r520804) +++ head/audio/oss/Makefile Tue Dec 24 13:36:50 2019 (r520805) @@ -65,6 +65,12 @@ post-patch: -name make.local -or -name soundoff -or -name soundon | \ ${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' +pre-build: + ${MAKE_CMD} -C ${BUILD_WRKSRC}/kernel/OS/FreeBSD \ + -f /usr/share/mk/bsd.kmod.mk \ + KMOD=osscore SRCS=os_freebsd.c \ + device_if.h bus_if.h pci_if.h + do-install: ${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${STAGEDIR}${PREFIX}/bin/ # @${ECHO_CMD} "OSSLIBDIR=${PREFIX}/lib/oss" > ${PROTO_ETCDIR}/oss.conf Modified: head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c ============================================================================== --- head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c Tue Dec 24 13:16:37 2019 (r520804) +++ head/audio/oss/files/patch-kernel_OS_FreeBSD_os__freebsd.c Tue Dec 24 13:36:50 2019 (r520805) @@ -1,10 +1,11 @@ --- kernel/OS/FreeBSD/os_freebsd.c.orig 2019-03-06 07:52:21 UTC +++ kernel/OS/FreeBSD/os_freebsd.c -@@ -15,6 +15,8 @@ +@@ -15,6 +15,9 @@ #include "oss_config.h" #include "midi_core.h" #include +#include ++#include +#include #include #include @@ -17,7 +18,7 @@ /* Function prototypes */ static d_open_t oss_open; -@@ -920,15 +923,9 @@ oss_poll (struct cdev *bsd_dev, int events, struct thr +@@ -920,15 +924,9 @@ oss_poll (struct cdev *bsd_dev, int events, struct thr return ev.revents; }