Bug 2167083 - lcms: Fix for C99 compatibility
Summary: lcms: Fix for C99 compatibility
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lcms
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-02-04 14:29 UTC by Florian Weimer
Modified: 2023-02-04 14:41 UTC (History)
7 users (show)

Fixed In Version: lcms-1.19-36.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-04 14:41:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lcms-c99.patch (459 bytes, patch)
2023-02-04 14:29 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2023-02-04 14:29:35 UTC
Created attachment 1942201 [details]
lcms-c99.patch

In src/cmsio1.c, lcms calls the swab function without declaring it. This leads to build failures with strict C99 compilers which do not support implicit function declarations.

The upstream Git history at https://github.com/mm2/Little-CMS for version 2 does not contain the swab function call at all (and no commit that removes it), so reporting this here for tracking purposes.


Note You need to log in before you can comment on or make changes to this bug.