Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1081695

Summary: Correct endianess headers in lcms2
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: lcms2Assignee: Richard Hughes <rhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: hobbes1069, karsten, rhughes, twaugh, will_schmidt, willschm
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: lcms2-2.6-4.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-18 12:38: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: 1051573    
Attachments:
Description Flags
lcms2 ppc64le correction patch none

Description Brent Baude 2014-03-27 18:47:47 UTC
Created attachment 879576 [details]
lcms2 ppc64le correction patch

The current rawhide lcms2 does not set endianess correctly.  IBM committed a patch to upstream which they reworked and has typos in.  Here is the patch that corrects this.  IBM will also take this upstream.

Spec change (if needed):
diff --git a/lcms2.spec b/lcms2.spec
index a32aa33..3282c17 100644
--- a/lcms2.spec
+++ b/lcms2.spec
@@ -1,11 +1,11 @@
 Name:           lcms2
 Version:        2.6
-Release:        1%{?dist}
+Release:        1.3%{?dist}
 Summary:        Color Management Engine
 License:        MIT
 URL:            http://www.littlecms.com/
 Source0:        http://www.littlecms.com/lcms2-2.6.tar.gz
-
+Patch99:       ppc64le-fix.patch
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  zlib-devel
@@ -34,6 +34,7 @@ Development files for LittleCMS.
 
 %prep
 %setup -q -n lcms2-2.6
+%patch99 -p1
 
 %build
 %configure --disable-static --program-suffix=2

Actual Patch will be attached.

Comment 1 Will Schmidt 2014-03-31 18:44:05 UTC
patch posted upstream (03/27) via http://sourceforge.net/p/lcms/mailman/message/32155201/