Bug 463009
Summary: | cdda_interface.h not compatible with C++ | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kevin Kofler <kevin> |
Component: | cdparanoia | Assignee: | Kevin Kofler <kevin> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | ajax, jarod, matt_domsch, pjones, ville.skytta |
Target Milestone: | --- | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/i386/kdemultimedia-4.1.1-1.fc10.src.rpm/result/build.log | ||
Whiteboard: | |||
Fixed In Version: | 10.2-2.fc10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-30 13:30:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 463452 |
Description
Kevin Kofler
2008-09-20 17:19:00 UTC
This also breaks building at least one multimedia package in a 3rd-party repo... Nb: in my case, even wrapping the cdda_interface.h include with extern "C" doesn't help. extern "C" doesn't excuse the contained code from being valid C++. This hack should work: #define private cdparanoia_private #include <cdda/cdda_interface.h> #undef private But instead of adding such hacks to our packages, we should just fix cdparanoia! Gotcha. Hack does indeed work, employing it for the moment. Any reason we can't simply rename 'private' to 'pvt' in cdparanoia and call it good? I mean, this breakage didn't exist in prior releases, so I doubt if anything outside of cdparanoia itself is actually using that part of that struct by name... Also breaks kaffeine's build. Upstream fix for cdparanoia: https://trac.xiph.org/changeset/15338 Ping? If you don't have the time to fix it, can you please open the package to the "packager" group so somebody else can make the trivial fix (just apply the patch from upstream)? Thanks for having opened the ACL, I'm fixing this now. |