cvs commit: patches/j2sdk j2sdk-1.4.1-fix-intl-files.patch j2sdk-1.4.1-link-missing-libs.patch j2sdk-1.4.1-remove-fixed-paths.patch j2sdk-1.4.1-syntax-fixes.patch j2sdk-1.4.1-use-included-motif.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Fri Oct 3 20:02:32 PDT 2003


tushar      03/10/03 21:02:32

  Added:       j2sdk    j2sdk-1.4.1-fix-intl-files.patch
                        j2sdk-1.4.1-link-missing-libs.patch
                        j2sdk-1.4.1-remove-fixed-paths.patch
                        j2sdk-1.4.1-syntax-fixes.patch
                        j2sdk-1.4.1-use-included-motif.patch
  Log:
  Added j2sdk patches
  
  Revision  Changes    Path
  1.1                  patches/j2sdk/j2sdk-1.4.1-fix-intl-files.patch
  
  Index: j2sdk-1.4.1-fix-intl-files.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-03
  Initial Package Version: 1.4.1
  Origin: None
  Description: Removes duplicate intl messages which cause compilation to fail with recent gettext versions.
  --- Build.orig/j2se/ext/plugin/oji-plugin/src/motif/resources/zh_TW/sunw_java_plugin.po	2002-09-06 02:31:47.000000000 -0500
  +++ Build/j2se/ext/plugin/oji-plugin/src/motif/resources/zh_TW/sunw_java_plugin.po	2003-01-13 09:41:22.000000000 -0600
  @@ -21,8 +21,9 @@
   msgstr "plugin: java á£Ê©ÄØÇÞعæÀÈÔäÚ"
   msgid  "  a core file was generated"
   msgstr "  ÄØܨÆíÕøÅÀóòÕù"
  -msgid  "Plugin: trouble with work request from child"
  -msgstr "Plugin: ÄÍùËɱÍÔÓÑÊåÎûÄÖÉ¢àõÆíÙÂ÷î"
  +# Extra messages. Deleted by Tushar Teredesai <tush at yahoo.com>
  +#msgid  "Plugin: trouble with work request from child"
  +#msgstr "Plugin: ÄÍùËɱÍÔÓÑÊåÎûÄÖÉ¢àõÆíÙÂ÷î"
   msgid  "Plugin: can't find IP address for current host"
   msgstr "Plugin: ÊÆÄâ̯ÆøЩÅäñ¢Îû IP ÈíÉß"
   msgid  "Plugin: trouble reading Netscape proxy  configuration URL from\n"
  --- Build.orig/j2se/ext/plugin/oji-plugin/src/motif/resources/zh_TW.BIG5/sunw_java_plugin.po	2002-09-06 02:31:47.000000000 -0500
  +++ Build/j2se/ext/plugin/oji-plugin/src/motif/resources/zh_TW.BIG5/sunw_java_plugin.po	2003-01-13 09:41:55.000000000 -0600
  @@ -21,8 +21,9 @@
   msgstr "plugin: java µ{§Ç¤w¦]°T¸¹¦Ó·´"
   msgid  "  a core file was generated"
   msgstr "  ¤w²£¥Í®Ö¤ßÀÉ®×"
  -msgid  "Plugin: trouble with work request from child"
  -msgstr "Plugin: ¤lÃþ§O©Ò­n¨Dªº¤u§@µo¥Í°ÝÃD"
  +# Extra messages. Removed by Tushar Teredesai <tush at yahoo.com>
  +#msgid  "Plugin: trouble with work request from child"
  +#msgstr "Plugin: ¤lÃþ§O©Ò­n¨Dªº¤u§@µo¥Í°ÝÃD"
   msgid  "Plugin: can't find IP address for current host"
   msgstr "Plugin: §ä¤£¨ì¥Ø«e¥D¾÷ªº IP ¦ì§}"
   msgid  "Plugin: trouble reading Netscape proxy  configuration URL from\n"
  
  
  
  1.1                  patches/j2sdk/j2sdk-1.4.1-link-missing-libs.patch
  
  Index: j2sdk-1.4.1-link-missing-libs.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-03
  Initial Package Version: 1.4.1
  Origin: None.
  Description: Add linking of libraries to fix compilation with recent glibc and gcc releases.
  --- Build.orig/hotspot/build/linux/makefiles/vm.make	2002-09-06 02:01:22.000000000 -0500
  +++ Build/hotspot/build/linux/makefiles/vm.make	2003-01-13 09:33:53.000000000 -0600
  @@ -134,7 +134,9 @@
   
   # The whole megilla:
   
  -LIBS += -lnsl -lm -ldl -lpthread
  +# The build uses gcc to compile a c++ file and hence libstdc++ is not linked automatically
  +# Fixed by Tushar Teredesai <tush at yahoo.com>
  +LIBS += -lnsl -lm -ldl -lpthread -lstdc++
   
   JVM = jvm$(G_SUFFIX)
   LIBJVM = lib$(JVM).so
  --- Build.orig/j2se/make/java/net/Makefile	2002-09-06 02:07:34.000000000 -0500
  +++ Build/j2se/make/java/net/Makefile	2003-01-13 09:35:07.000000000 -0600
  @@ -61,6 +61,8 @@
   #
   # Include rules
   #
  +# Added a missing -lpthread for linux
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   include $(BUILDDIR)/common/Mapfile-vers.gmk
   
   include $(BUILDDIR)/common/Library.gmk
  @@ -70,7 +72,7 @@
     COMPILER_WARNING_LEVEL=2
   else
     LIBSOCKET = -lsocket
  -  OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB)
  +  OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB) -lpthread
   endif
   
   CLASSES.export += java.lang.Integer java.io.FileDescriptor java.net.InetAddressImplFactory java.net.Inet4AddressImpl java.net.Inet6AddressImpl
  --- Build.orig/j2se/make/java/nio/Makefile	2002-09-06 02:07:34.000000000 -0500
  +++ Build/j2se/make/java/nio/Makefile	2003-01-13 09:35:50.000000000 -0600
  @@ -112,7 +112,9 @@
   endif
   ifeq ($(PLATFORM), linux)
   OTHER_CFLAGS += -Werror
  -OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH)$(SUFFIX) -ljava$(SUFFIX) -lnet$(SUFFIX)
  +# Added missing -lpthread for linux
  +# Changed by Tushar Teredesai <tush at yahoo.com>
  +OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH)$(SUFFIX) -ljava$(SUFFIX) -lnet$(SUFFIX) -lpthread
   endif
   ifeq ($(PLATFORM), solaris)
   OTHER_LDLIBS += $(JVMLIB) -lsocket -lposix4 \
  --- Build.orig//j2se/make/jpda/back/Makefile	2002-09-06 02:07:39.000000000 -0500
  +++ Build/j2se/make/jpda/back/Makefile	2003-01-13 09:36:33.000000000 -0600
  @@ -33,8 +33,10 @@
   endif
   endif # PLATFORM
   
  +# Also needs to link to JVMLIB (-ljvm) to resolve symbol fork1
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   ifeq ($(PLATFORM), linux)
  -  OTHER_LDLIBS = -ldl 
  +  OTHER_LDLIBS = -ldl $(JVMLIB)
   endif # PLATFORM
   
   ifeq ($(PLATFORM), solaris)
  
  
  
  1.1                  patches/j2sdk/j2sdk-1.4.1-remove-fixed-paths.patch
  
  Index: j2sdk-1.4.1-remove-fixed-paths.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-03
  Initial Package Version: 1.4.1
  Origin: None
  Description: Instead of fixing the path where binraries are located, use the binaries
  in the user's path.
  --- Build.orig/control/make/common/Defs-linux.gmk	2002-09-06 02:00:17.000000000 -0500
  +++ Build/control/make/common/Defs-linux.gmk	2003-01-13 09:23:49.000000000 -0600
  @@ -44,52 +44,54 @@
   # define these to avoid picking up ones from aliases or from
   # non-standard locations
   #
  +# The sane thing to do is to use the PATH set by user!
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   
  -AR             = $(USRBIN_PATH)ar
  -BASENAME       = $(UNIXCOMMAND_PATH)basename
  -CAT            = $(UNIXCOMMAND_PATH)cat
  +AR             = ar
  +BASENAME       = basename
  +CAT            = cat
   CD             = cd # intrinsic unix command
  -CHMOD          = $(UNIXCOMMAND_PATH)chmod
  -CMP            = $(USRBIN_PATH)cmp
  -COMM           = $(USRBIN_PATH)comm
  -COMPRESS       = $(USRBIN_PATH)compress
  -CP             = $(UNIXCOMMAND_PATH)cp
  -CPIO           = $(UNIXCOMMAND_PATH)cpio
  -CUT            = $(USRBIN_PATH)cut
  -DATE           = $(UNIXCOMMAND_PATH)date
  -DF             = $(UNIXCOMMAND_PATH)df
  -DIFF           = $(USRBIN_PATH)diff
  -DIRNAME        = $(USRBIN_PATH)dirname
  +CHMOD          = chmod
  +CMP            = cmp
  +COMM           = comm
  +COMPRESS       = compress
  +CP             = cp
  +CPIO           = cpio
  +CUT            = cut
  +DATE           = date
  +DF             = df
  +DIFF           = diff
  +DIRNAME        = dirname
   ECHO           = echo -e # intrinsic unix command, with backslash-escaped character interpretation 
  -EGREP          = $(UNIXCOMMAND_PATH)egrep
  -EXPR           = $(USRBIN_PATH)expr
  -FIND           = $(USRBIN_PATH)find
  -GREP           = $(UNIXCOMMAND_PATH)grep
  -LEX            = $(USRBIN_PATH)lex
  -LN             = $(UNIXCOMMAND_PATH)ln
  -LS             = $(UNIXCOMMAND_PATH)ls
  -M4             = $(USRBIN_PATH)m4
  -MKDIR          = $(UNIXCOMMAND_PATH)mkdir
  -MV             = $(UNIXCOMMAND_PATH)mv
  -NAWK           = $(USRBIN_PATH)gawk
  -PWD            = $(UNIXCOMMAND_PATH)pwd
  +EGREP          = egrep
  +EXPR           = expr
  +FIND           = find
  +GREP           = grep
  +LEX            = lex
  +LN             = ln
  +LS             = ls
  +M4             = m4
  +MKDIR          = mkdir
  +MV             = mv
  +NAWK           = gawk
  +PWD            = pwd
   #RM   is defined by GNU Make as 'rm -f'
  -RMDIR          = $(UNIXCOMMAND_PATH)rmdir
  -RPM            = $(UNIXCOMMAND_PATH)rpm
  -SED            = $(UNIXCOMMAND_PATH)sed
  -SH             = $(UNIXCOMMAND_PATH)sh
  -SORT           = $(UNIXCOMMAND_PATH)sort
  -STRIP          = $(USRBIN_PATH)strip
  -TAR            = $(UNIXCOMMAND_PATH)tar
  -TOUCH          = $(UNIXCOMMAND_PATH)touch
  -TR             = $(USRBIN_PATH)tr
  -TRUE           = $(UNIXCOMMAND_PATH)true
  -UNAME          = $(UNIXCOMMAND_PATH)uname
  -UNIQ           = $(USRBIN_PATH)uniq
  -UNZIP          = $(USRBIN_PATH)unzip
  -WC             = $(USRBIN_PATH)wc
  -YACC           = $(USRBIN_PATH)yacc
  -ZIPEXE         = $(USRBIN_PATH)zip
  +RMDIR          = rmdir
  +RPM            = rpm
  +SED            = sed
  +SH             = sh
  +SORT           = sort
  +STRIP          = strip
  +TAR            = tar
  +TOUCH          = touch
  +TR             = tr
  +TRUE           = true
  +UNAME          = uname
  +UNIQ           = uniq
  +UNZIP          = unzip
  +WC             = wc
  +YACC           = yacc
  +ZIPEXE         = zip
   
   
   archExpr = case "`$(UNAME) -m`" in  \
  --- Build.orig/j2se/make/common/Defs-linux.gmk	2002-09-06 02:07:13.000000000 -0500
  +++ Build/j2se/make/common/Defs-linux.gmk	2003-01-13 09:24:54.000000000 -0600
  @@ -25,56 +25,58 @@
   # define these to avoid picking up ones from aliases or from
   # non-standard locations
   #
  +# The sane thing to do is to use the PATH set by user!
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   
  -AR             = $(USRBIN_PATH)ar
  -BASENAME       = $(UNIXCOMMAND_PATH)basename
  -CAT            = $(UNIXCOMMAND_PATH)cat
  -CC             = $(COMPILER_PATH)gcc
  -CPP            = $(COMPILER_PATH)gcc -E
  -CXX            = $(COMPILER_PATH)g++
  +AR             = ar
  +BASENAME       = basename
  +CAT            = cat
  +CC             = gcc
  +CPP            = gcc -E
  +CXX            = g++
   CD             = cd # intrinsic unix command
  -CHMOD          = $(UNIXCOMMAND_PATH)chmod
  -CMP            = $(USRBIN_PATH)cmp
  -COMPRESS       = $(USRBIN_PATH)compress
  -CP             = $(UNIXCOMMAND_PATH)cp
  -CPIO           = $(UNIXCOMMAND_PATH)cpio
  -CUT            = $(USRBIN_PATH)cut
  -DATE           = $(UNIXCOMMAND_PATH)date
  -DF             = $(UNIXCOMMAND_PATH)df
  -DIFF           = $(USRBIN_PATH)diff
  -DIRNAME        = $(USRBIN_PATH)dirname
  +CHMOD          = chmod
  +CMP            = cmp
  +COMPRESS       = compress
  +CP             = cp
  +CPIO           = cpio
  +CUT            = cut
  +DATE           = date
  +DF             = df
  +DIFF           = diff
  +DIRNAME        = dirname
   ECHO           = echo -e # intrinsic unix command, with backslash-escaped character interpretation 
  -EGREP          = $(UNIXCOMMAND_PATH)egrep
  -EXPR           = $(USRBIN_PATH)expr
  -FIND           = $(USRBIN_PATH)find
  -HEAD           = $(USRBIN_PATH)head
  -GDB            = $(USRBIN_PATH)gdb
  -GREP           = $(UNIXCOMMAND_PATH)grep
  -LEX            = $(USRBIN_PATH)lex
  -LN             = $(UNIXCOMMAND_PATH)ln
  -LS             = $(UNIXCOMMAND_PATH)ls
  -M4             = $(USRBIN_PATH)m4
  -MKDIR          = $(UNIXCOMMAND_PATH)mkdir
  -MV             = $(UNIXCOMMAND_PATH)mv
  -NAWK           = $(USRBIN_PATH)gawk
  -PWD            = $(UNIXCOMMAND_PATH)pwd
  +EGREP          = egrep
  +EXPR           = expr
  +FIND           = find
  +HEAD           = head
  +GDB            = gdb
  +GREP           = grep
  +LEX            = lex
  +LN             = ln
  +LS             = ls
  +M4             = m4
  +MKDIR          = mkdir
  +MV             = mv
  +NAWK           = gawk
  +PWD            = pwd
   #RM   is defined by GNU Make as 'rm -f'
  -RMDIR          = $(UNIXCOMMAND_PATH)rmdir
  -RPM            = $(UNIXCOMMAND_PATH)rpm
  -SED            = $(UNIXCOMMAND_PATH)sed
  -SH             = $(UNIXCOMMAND_PATH)sh
  -SORT           = $(UNIXCOMMAND_PATH)sort
  -STRIP          = $(USRBIN_PATH)strip
  -TAR            = $(UNIXCOMMAND_PATH)tar
  -TOUCH          = $(UNIXCOMMAND_PATH)touch
  -TR             = $(USRBIN_PATH)tr
  -TRUE           = $(UNIXCOMMAND_PATH)true
  -UNAME          = $(UNIXCOMMAND_PATH)uname
  -UNIQ           = $(USRBIN_PATH)uniq
  -UNZIP          = $(USRBIN_PATH)unzip
  -UNZIPSFX       = $(USRBIN_PATH)unzipsfx
  -YACC           = $(USRBIN_PATH)yacc
  -ZIPEXE         = $(USRBIN_PATH)zip
  +RMDIR          = rmdir
  +RPM            = rpm
  +SED            = sed
  +SH             = sh
  +SORT           = sort
  +STRIP          = strip
  +TAR            = tar
  +TOUCH          = touch
  +TR             = tr
  +TRUE           = true
  +UNAME          = uname
  +UNIQ           = uniq
  +UNZIP          = unzip
  +UNZIPSFX       = unzipsfx
  +YACC           = yacc
  +ZIPEXE         = zip
   
   
   archExpr = case "`$(UNAME) -m`" in  \
  
  
  
  1.1                  patches/j2sdk/j2sdk-1.4.1-syntax-fixes.patch
  
  Index: j2sdk-1.4.1-syntax-fixes.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-03
  Initial Package Version: 1.4.1
  Origin: None
  Description: Some compilation fixes for recent glibc and gcc versions.
  --- Build.orig/hotspot/src/share/vm/c1/c1_FrameMap.hpp	2002-09-06 02:03:41.000000000 -0500
  +++ Build/hotspot/src/share/vm/c1/c1_FrameMap.hpp	2003-01-13 09:38:16.000000000 -0600
  @@ -196,7 +196,8 @@
   //--------------------------------------------------------
   
   class ArgumentLocation VALUE_OBJ_CLASS_SPEC {
  -  friend CallingConvention;
  +  /* Syntax fix. Tushar Teredesai <tush at yahoo.com> */
  +  friend struct CallingConvention;
    private:
     int _n;         // either a register number 0-5 (I0-I5 or O0-O5), or an offset (in words) from SP/FP
   
  @@ -246,7 +247,8 @@
   //--------------------------------------------------------
   
   class CallingConvention: public ResourceObj {
  -  friend FrameMap;
  +  /* Syntax fix. Tushar Teredesai <tush at yahoo.com> */
  +  friend class FrameMap;
   
    private:
     intStack* _args;
  --- Build.orig/hotspot/src/share/vm/opto/loopnode.hpp	2002-09-06 02:04:33.000000000 -0500
  +++ Build/hotspot/src/share/vm/opto/loopnode.hpp	2003-01-13 09:39:00.000000000 -0600
  @@ -308,7 +308,8 @@
   // Computes the mapping from Nodes to IdealLoopTrees.  Organizes IdealLoopTrees into a
   // loop tree.  Drives the loop-based transformations on the ideal graph.
   class PhaseIdealLoop : public PhaseTransform {
  -  friend IdealLoopTree;
  +  /* Syntax fix. Tushar Teredesai <tush at yahoo.com> */
  +  friend class IdealLoopTree;
     // Pre-computed def-use info
     PhaseIterGVN &_igvn;
   
  --- Build.orig/j2se/ext/plugin/oji-plugin/src/motif/common/utils.c	2002-09-06 02:31:43.000000000 -0500
  +++ Build/j2se/ext/plugin/oji-plugin/src/motif/common/utils.c	2003-01-13 09:39:45.000000000 -0600
  @@ -12,6 +12,8 @@
   #include <locale.h>
   #include <errno.h>
   #include <strings.h>
  +/* Needed by newer gcc3. Tushar Teredesai <tush at yahoo.com> */
  +#include <string.h>
   #include <dlfcn.h>
   #include "plugin_defs.h"
   #include "pluginversion.h"
  --- Build.orig/j2se/ext/plugin/oji-plugin/src/motif/navig5/ProxySupport5.cpp	2002-09-06 02:31:45.000000000 -0500
  +++ Build/j2se/ext/plugin/oji-plugin/src/motif/navig5/ProxySupport5.cpp	2003-01-13 09:40:44.000000000 -0600
  @@ -30,7 +30,8 @@
   #include "ProxySupport5.h"
   extern "C" {
   #ifdef __linux__
  -extern int gethostname(char *, size_t);
  +/* Syntax fix. Tushar Teredesai <tush at yahoo.com> */
  +extern int gethostname(char *, size_t) __THROW;
   #else
   extern int gethostname(char *, int);
   #endif
  
  
  
  1.1                  patches/j2sdk/j2sdk-1.4.1-use-included-motif.patch
  
  Index: j2sdk-1.4.1-use-included-motif.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-03
  Initial Package Version: 1.4.1
  Origin: None
  Description: j2sdk includes its hacked/fixed version of motif source that it
  links against. In some cases it ends up linking against the system installed
  motif instead of the internal statically compiled libXm. This patch fixes the
  code so that the internal motif lib is renamed to a different and unique name
  and then links against that lib instead.
  --- Build.orig/control/make/motif-rules.gmk	2002-09-06 02:00:16.000000000 -0500
  +++ Build/control/make/motif-rules.gmk	2003-01-13 09:30:02.000000000 -0600
  @@ -25,7 +25,10 @@
     ABS_MOTIF_DIR := $(shell $(CD) $(MOTIF_DIR); $(PWD))
   endif
   
  -MOTIF = $(MOTIF_DIR)/lib/libXm.a 
  +# Use a non-stadard name for motif lib to avoid using the system installed incompatible lib
  +# Similar changes made below.
  +# Changed by Tushar Teredesai <tush at yahoo.com>
  +MOTIF = $(MOTIF_DIR)/lib/libXm-j2sdk.a 
   
   motif: motif-build motif-install
   
  @@ -43,8 +46,8 @@
   motif-install-lib: $(MOTIF_DIR)/lib 
     ifdef BUILD_MOTIF
   	$(CD) $(MOTIF_DIR)/lib; \
  -	$(RM) libXm.a ; \
  -	$(LN) -s $(ABS_MOTIF_TOPDIR)/lib/libXm.a .
  +	$(RM) libXm-j2sdk.a ; \
  +	$(LN) -s $(ABS_MOTIF_TOPDIR)/lib/libXm.a libXm-j2sdk.a
     endif
   
   motif-install-include: $(MOTIF_DIR)/include 
  @@ -62,7 +65,7 @@
     ifdef BUILD_MOTIF
   	( $(CD) $(MOTIF_TOPDIR)/lib/Xm ; \
   		$(MAKE) clean MAKEFLAGS= ARCH_DATA_MODEL=$(ARCH_DATA_MODEL); ); \
  -	$(RM) $(MOTIF_TOPDIR)/lib/libXm.a \
  +	$(RM) $(MOTIF_TOPDIR)/lib/libXm-j2sdk.a \
   	      $(MOTIF_TOPDIR)/lib/Xm/Xm.msg 
   	$(RM) -r $(MOTIF_TOPDIR)/lib/Xm/exports
   	$(RM) -r $(MOTIF_DIR)/lib $(MOTIF_DIR)/include $(MOTIF_DIR)
  --- Build.orig/j2se/make/sun/awt/Makefile	2002-09-06 02:08:23.000000000 -0500
  +++ Build/j2se/make/sun/awt/Makefile	2003-01-13 09:30:56.000000000 -0600
  @@ -237,8 +237,10 @@
   ifneq ($(PLATFORM), windows)
   # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS/LINUX
   
  +# If using static motif, use the non-standard name for the lib
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   ifeq ($(STATIC_MOTIF),true)
  -  LIBXM = $(MOTIF_LIB)/libXm.a -lXp
  +  LIBXM = $(MOTIF_LIB)/libXm-j2sdk.a -lXp
   else # STATIC_MOTIF
     LIBXM = -lXm
   endif # STATIC_MOTIF
  --- Build.orig/j2se/make/sun/awt/mawt.gmk	2002-09-06 02:08:24.000000000 -0500
  +++ Build/j2se/make/sun/awt/mawt.gmk	2003-01-13 09:32:30.000000000 -0600
  @@ -125,8 +125,10 @@
   else
   CFLAGS += -DMOTIF_VERSION=$(MOTIF_VERSION)
   
  +# If using static motif, use non-standard lib name
  +# Changed by Tushar Teredesai <tush at yahoo.com>
   ifeq ($(STATIC_MOTIF),true)
  -LIBXM = $(MOTIF_LIB)/libXm.a -lXp
  +LIBXM = $(MOTIF_LIB)/libXm-j2sdk.a -lXp
   else
   LIBXM = -lXm
   endif
  
  
  



More information about the patches mailing list