changeset 757:7a49207c4a52

2008-03-04 Lillian Angel <langel@redhat.com> * patches/icedtea-lesstif-64.patch: Reverted. * Makefile.am: Added above patch. * Makefile.in: Regenerated.
author Lillian Angel <langel@redhat.com>
date Tue, 04 Mar 2008 08:38:44 -0500
parents 949c532c77b8
children c52771aeffc6
files ChangeLog Makefile.am Makefile.in patches/icedtea-lesstif-64.patch
diffstat 4 files changed, 37 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 04 07:41:17 2008 -0500
+++ b/ChangeLog	Tue Mar 04 08:38:44 2008 -0500
@@ -1,3 +1,9 @@
+2008-03-04  Lillian Angel  <langel@redhat.com>
+
+	* patches/icedtea-lesstif-64.patch: Reverted.
+	* Makefile.am: Added above patch.
+	* Makefile.in: Regenerated.
+
 2008-03-04  Gary Benson  <gbenson@redhat.com>
 
 	* patches/icedtea-ports.patch: Moved HotSpot 7 specific hunk to...
--- a/Makefile.am	Tue Mar 04 07:41:17 2008 -0500
+++ b/Makefile.am	Tue Mar 04 08:38:44 2008 -0500
@@ -243,6 +243,7 @@
 	patches/icedtea-ports.patch \
 	patches/icedtea-lcms-leak.patch \
 	patches/icedtea-timerqueue.patch \
+	patches/icedtea-lesstif-64.patch \
 	patches/icedtea-generated.patch \
 	patches/icedtea-lib64.patch \
 	patches/icedtea-zero.patch \
--- a/Makefile.in	Tue Mar 04 07:41:17 2008 -0500
+++ b/Makefile.in	Tue Mar 04 08:38:44 2008 -0500
@@ -371,6 +371,7 @@
 	patches/icedtea-ports.patch \
 	patches/icedtea-lcms-leak.patch \
 	patches/icedtea-timerqueue.patch \
+	patches/icedtea-lesstif-64.patch \
 	patches/icedtea-generated.patch \
 	patches/icedtea-lib64.patch \
 	patches/icedtea-zero.patch \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-lesstif-64.patch	Tue Mar 04 08:38:44 2008 -0500
@@ -0,0 +1,29 @@
+--- openjdk/j2se/src/solaris/classes/sun/awt/X11/generator/WrapperGenerator.java~	2007-09-01 12:47:07.000000000 +0200
++++ openjdk/jdk/src/solaris/classes/sun/awt/X11/generator/WrapperGenerator.java	2007-09-01 13:38:52.000000000 +0200
+@@ -1137,12 +1137,25 @@ public class WrapperGenerator {
+ 
+             pw.println("/* This file is an automatically generated file, please do not edit this file, modify the XlibParser.java file instead !*/\n" );
+             pw.println("#include <X11/Xlib.h>\n#include <X11/Xutil.h>\n#include <X11/Xos.h>\n#include <X11/Xatom.h>\n#include <stdio.h>\n");
+-            pw.println("#include <Xm/MwmUtil.h>");
+             pw.println("#include <X11/extensions/Xdbe.h>");
+             pw.println("#include \"awt_p.h\"");
+             pw.println("#include \"color.h\"");
+             pw.println("#include \"colordata.h\"");
+ 
++            pw.println("\n/* the struct below was copied from MwmUtil.h to workaround a lesstif bug:");
++            pw.println("   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6586752 */");
++            pw.println("\ntypedef struct PROPMOTIFWMHINTS {");
++            pw.println("/* 32-bit property items are stored as long on the client (whether");
++            pw.println(" * that means 32 bits or 64).  XChangeProperty handles the conversion");
++            pw.println(" * to the actual 32-bit quantities sent to the server.");
++            pw.println(" */");
++            pw.println("    unsigned long   flags;");
++            pw.println("    unsigned long   functions;");
++            pw.println("    unsigned long   decorations;");
++            pw.println("    long            inputMode;");
++            pw.println("    unsigned long   status;");
++            pw.println("} PropMwmHints;");
++
+             pw.println("\n\nint main(){");
+             j=0;
+             for ( eo = symbolTable.elements() ; eo.hasMoreElements() ;) {