changeset in /hg/icedtea: 2008-03-04 Lillian Angel <langel at red...

Lillian Angel langel at redhat.com
Thu May 29 14:11:04 PDT 2008


changeset 7a49207c4a52 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7a49207c4a52
description:
	2008-03-04  Lillian Angel  <langel at redhat.com>

	        * patches/icedtea-lesstif-64.patch: Reverted.
	        * Makefile.am: Added above patch.
	        * Makefile.in: Regenerated.

diffstat:

4 files changed, 37 insertions(+)
ChangeLog                        |    6 ++++++
Makefile.am                      |    1 +
Makefile.in                      |    1 +
patches/icedtea-lesstif-64.patch |   29 +++++++++++++++++++++++++++++

diffs (68 lines):

diff -r 949c532c77b8 -r 7a49207c4a52 ChangeLog
--- 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  Gary Benson  <gbenson at redhat
+2008-03-04  Lillian Angel  <langel at redhat.com>
+
+	* patches/icedtea-lesstif-64.patch: Reverted.
+	* Makefile.am: Added above patch.
+	* Makefile.in: Regenerated.
+
 2008-03-04  Gary Benson  <gbenson at redhat.com>
 
 	* patches/icedtea-ports.patch: Moved HotSpot 7 specific hunk to...
diff -r 949c532c77b8 -r 7a49207c4a52 Makefile.am
--- 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 @@ ICEDTEA_PATCHES = \
 	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 \
diff -r 949c532c77b8 -r 7a49207c4a52 Makefile.in
--- 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 @@ ICEDTEA_PATCHES = \
 	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 \
diff -r 949c532c77b8 -r 7a49207c4a52 patches/icedtea-lesstif-64.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() ;) {



More information about the distro-pkg-dev mailing list