Summary: | [PATCH] audio/oss fails to build on 14-CURRENT | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Cy Schubert <cy> |
Component: | Individual Port(s) | Assignee: | Cy Schubert <cy> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | cy, tcovert+freebsd |
Priority: | --- | Flags: | crees:
maintainer-feedback+
cy: merge-quarterly? |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D32560 |
Description
Cy Schubert
2021-10-19 15:49:40 UTC
The patch can be found at https://reviews.freebsd.org/D32560/. Awesome, thanks! BTW, adding the trailing slash breaks Phabricator apparently :/ Are you happy to commit? I'll commit it. Thanks. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff67375036355e9cfb8b92b1d694cd936068c2cf commit ff67375036355e9cfb8b92b1d694cd936068c2cf Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-10-19 17:32:17 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-10-19 18:47:41 +0000 audio/oss: Fix build on 14-CURRENT As of dfff37765ce4ea4fd7db4d293b459dc84008f411 (1400010), struct device on 14-CURRENT was renamed to struct _device. This commit chases this change by adding a __FreeBSD_version CPP conditional. PR: 259275 Submitted by: cy Reported by: cy Reviewed by: crees Tested by: cy Approved by: crees MFH: 2021Q4 Differential Revision: https://reviews.freebsd.org/D32560 .../files/patch-kernel_OS_FreeBSD_wrapper_bsddefs.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) Fixed. This patch allowed me to build on 13-STABLE at b1ced97e75a0ec004119088842ce017ff4dd5393 I haven't been able to build oss for some time, and using this patch allowed my port to finish. |