Bug 2167083

Summary: lcms: Fix for C99 compatibility
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: lcmsAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, gnome-sig, mclasen, rhughes, rstrode, sandmann, vitaly
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lcms-1.19-36.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-04 14:41:09 UTC Type: Bug
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: 2141798    
Attachments:
Description Flags
lcms-c99.patch none

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.