Summary: | audio/ocp: fix build on powerpc64 with gcc | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Emanuel Haupt <ehaupt> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | powerpc | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ehaupt) |
||||
Version: | Latest | ||||||
Hardware: | powerpc | ||||||
OS: | Any | ||||||
Attachments: |
|
Thank you for the patch. Unfortunately I have no way of testing it on powerpc64. If it solves the issue, please commit. A commit references this bug: Author: pkubaj Date: Thu Jun 18 15:41:33 UTC 2020 New revision: 539550 URL: https://svnweb.freebsd.org/changeset/ports/539550 Log: audio/ocp: fix build on powerpc64 with gcc GCC is still used on stable/11 and stable/12. It needs sys/types.h in lzh.h, because some types are not recognized. Force newer compiler due to: pfilesel.c:3312: error: #pragma GCC diagnostic not allowed inside functions Because of libstdc++ ABI changes due to forcing new compiler, audio/libadplug and devel/libbinio in order for audio/ocp to build. PR: 247377 Approved by: ehaupt (maintainer) Changes: head/audio/libadplug/Makefile head/audio/ocp/Makefile head/audio/ocp/files/patch-playym_lzh_lzh.h head/devel/libbinio/Makefile |
Created attachment 215732 [details] patch GCC is still used on stable/11 and stable/12. It needs sys/types.h in lzh.h, because some types are not recognized.