changeset 2267:c1a198d6dec9

Added patch which fixes bug #6703377, corrected location of patch patches/openjdk/6853592-badwindow-warning-fix.patch in Makefile.am
author ptisnovs
date Mon, 18 Oct 2010 14:43:14 +0200
parents 66e3c18bd585
children 69b7e0c0a5c3
files ChangeLog Makefile.am patches/6703377-freetypescaler.patch
diffstat 3 files changed, 24 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 18 11:29:08 2010 +0200
+++ b/ChangeLog	Mon Oct 18 14:43:14 2010 +0200
@@ -1,3 +1,12 @@
+2010-10-18  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* Makefile.am:
+	Corrected location of patch
+	patches/openjdk/6853592-badwindow-warning-fix.patch
+	in Makefile.am
+	* patches/6703377-freetypescaler.patch:
+	Added patch which fixes bug #6703377
+
 2010-10-15  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* patches/openjdk/6853592-badwindow-warning-fix.patch:
--- a/Makefile.am	Mon Oct 18 11:29:08 2010 +0200
+++ b/Makefile.am	Mon Oct 18 14:43:14 2010 +0200
@@ -310,7 +310,9 @@
 	patches/icedtea-shark-build.patch \
 	patches/openjdk/6638712-wildcard_types.patch \
 	patches/openjdk/6650759-missing_inference.patch \
-	patches/numa_on_early_glibc.patch
+	patches/numa_on_early_glibc.patch \
+	patches/openjdk/6853592-badwindow-warning-fix.patch \
+	patches/6703377-freetypescaler.patch
 
 
 if !WITH_ALT_HSBUILD
@@ -321,8 +323,7 @@
 	patches/shark-debug-option.patch \
 	patches/icedtea-shark.patch \
 	patches/icedtea-linux-separate-debuginfo.patch \
-	patches/openjdk/6951319-sparc_build_fixes.patch \
-	patches/openjdk/6853592-badwindow-warning-fix.patch
+	patches/openjdk/6951319-sparc_build_fixes.patch
 endif
 
 if WITH_RHINO
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/6703377-freetypescaler.patch	Mon Oct 18 14:43:14 2010 +0200
@@ -0,0 +1,11 @@
+--- openjdk.orig/jdk/src/share/native/sun/font/freetypeScaler.c	2010-10-15 15:19:35.000000000 +0200
++++ openjdk/jdk/src/share/native/sun/font/freetypeScaler.c	2010-10-15 15:19:35.000000000 +0200
+@@ -979,7 +979,7 @@
+ }
+ 
+ 
+-#define FloatToF26Dot6(x) ((unsigned int) ((x)*64))
++#define FloatToF26Dot6(x) ((int) ((x)*64))
+ 
+ static FT_Outline* getFTOutline(JNIEnv* env, jobject font2D,
+         FTScalerContext *context, FTScalerInfo* scalerInfo,