rpms/lcms/devel lcms-fix_s390_lcms_h.patch, NONE, 1.1 lcms.spec, 1.17, 1.18
Chauvet Nicolas
kwizart at fedoraproject.org
Tue Oct 28 01:47:06 UTC 2008
Author: kwizart
Update of /cvs/pkgs/rpms/lcms/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14521
Modified Files:
lcms.spec
Added Files:
lcms-fix_s390_lcms_h.patch
Log Message:
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=468245
lcms-fix_s390_lcms_h.patch:
--- NEW FILE lcms-fix_s390_lcms_h.patch ---
--- lcms-1.17/include/lcms.h.s390
+++ lcms-1.17/include/lcms.h
@@ -139,7 +139,8 @@
# define USE_BIG_ENDIAN 1
#endif
-#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__)
+#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) \
+ || defined(__s390__) || defined(__s390x__)
# define USE_BIG_ENDIAN 1
#endif
@@ -153,7 +154,7 @@
# endif
#endif
-#if __BIG_ENDIAN__
+#ifdef __BIG_ENDIAN__
# define USE_BIG_ENDIAN 1
#endif
Index: lcms.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lcms/devel/lcms.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- lcms.spec 3 Jun 2008 09:10:10 -0000 1.17
+++ lcms.spec 28 Oct 2008 01:46:35 -0000 1.18
@@ -2,7 +2,7 @@
Name: lcms
Version: 1.17
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Color Management System
Group: Applications/Productivity
@@ -11,6 +11,7 @@
Source0: http://www.littlecms.com/lcms-%{version}.tar.gz
Patch1: lcms-1.16-python-lib64.patch
Patch2: coverity-boundchecking-cmsio1.patch
+Patch3: lcms-fix_s390_lcms_h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel
@@ -62,6 +63,7 @@
%setup -q
%patch1 -p1 -b .python-lib64
%patch2 -p2 -b .type4
+%patch3 -p1 -b .s390
find . -name \*.[ch] | xargs chmod -x
# Convert not UTF-8 files
@@ -124,6 +126,9 @@
%changelog
+* Tue Oct 28 2008 kwizart < kwizart at gmail.com > - 1.17-6
+- Add lcms-fix_s390_lcms_h.patch - Fix #468245
+
* Tue Jun 3 2008 kwizart < kwizart at gmail.com > - 1.17-5
- Fix Array indexing error in ReadCurve - #448066
More information about the scm-commits
mailing list