[java-1.7.0-openjdk/f19] Reverted RH661505 patch
jiri vanek
jvanek at fedoraproject.org
Fri Sep 6 13:50:36 UTC 2013
commit 4487717b52cc2e09e2b6fd1fa4194c88a5208f12
Author: Jiri Vanek <jvanek at jvanek.redhat>
Date: Fri Sep 6 15:50:00 2013 +0200
Reverted RH661505 patch
RH661505-toBeReverted.patch | 38 ++++++++++++++++++++++++++++++++++++++
java-1.7.0-openjdk.spec | 4 ++++
2 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/RH661505-toBeReverted.patch b/RH661505-toBeReverted.patch
new file mode 100644
index 0000000..a3476a4
--- /dev/null
+++ b/RH661505-toBeReverted.patch
@@ -0,0 +1,38 @@
+# HG changeset patch
+# User andrew
+# Date 1378467880 -3600
+# Node ID 3372405e49a9e5cd27af64e16eb7e44539ea3339
+# Parent b2611b1a750cf38b795d1df24c5bea9b9c246e0f
+RH661505: JPEGs with sRGB IEC61966-2.1 color profiles have wrong colors
+
+diff -r b2611b1a750c -r 3372405e49a9 src/share/native/sun/awt/image/jpeg/imageioJPEG.c
+--- openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c Wed Sep 04 18:20:38 2013 +0100
++++ openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c Fri Sep 06 12:44:40 2013 +0100
+@@ -1454,6 +1454,8 @@
+ "[S");
+ }
+
++#define JPEG_APP1 (JPEG_APP0 + 1) /* EXIF APP1 marker code */
++
+ JNIEXPORT jlong JNICALL
+ Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_initJPEGImageReader
+ (JNIEnv *env,
+@@ -1507,6 +1509,7 @@
+
+ // Set up to keep any APP2 markers, as these might contain ICC profile
+ // data
++ jpegsavemarkers(cinfo, JPEG_APP1, 0xFFFF);
+ jpeg_save_markers(cinfo, ICC_MARKER, 0xFFFF);
+
+ /*
+@@ -1569,8 +1572,6 @@
+ imageio_init_source((j_decompress_ptr) cinfo);
+ }
+
+-#define JPEG_APP1 (JPEG_APP0 + 1) /* EXIF APP1 marker code */
+-
+ /*
+ * For EXIF images, the APP1 will appear immediately after the SOI,
+ * so it's safe to only look at the first marker in the list.
+
+
diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index 182b5c4..796b4a6 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -251,6 +251,7 @@ Patch300: pulse-soundproperties.patch
#Workaround RH902004
Patch402: gstackbounds.patch
Patch403: PStack-808293.patch
+Patch404: RH661505-toBeReverted.patch
# End of tmp patches
BuildRequires: autoconf
@@ -504,6 +505,8 @@ tar xzf %{SOURCE7}
%patch403
%endif
+%patch404 -R
+
%build
# How many cpu's do we have?
%ifarch aarch64
@@ -1290,6 +1293,7 @@ exit 0
- removed upstreamed patch404 aarch64.patch
- adapted patch104 java-1.7.0-openjdk-ppc-zero-jdk.patch
- adapted patch105 java-1.7.0-openjdk-ppc-zero-hotspot.patch
+- added patch404 RH661505-toBeReverted.patch, to be *reverted* during prep
- buildver bumbed to 60
* Mon Sep 03 2013 Jiri Vanek <jvanek at redhat.com> - 1.7.0.25-2.4.1.4.f19
More information about the scm-commits
mailing list