cvs commit: patches/openoffice openoffice-1.1.0-domainname.patch openoffice-1.1.0-jdk-1.4.2-fix.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Tue Oct 14 07:21:34 PDT 2003


tushar      03/10/14 08:21:34

  Added:       openoffice openoffice-1.1.0-domainname.patch
                        openoffice-1.1.0-jdk-1.4.2-fix.patch
  Log:
  Added openoffice patches
  
  Revision  Changes    Path
  1.1                  patches/openoffice/openoffice-1.1.0-domainname.patch
  
  Index: openoffice-1.1.0-domainname.patch
  ===================================================================
  Submitted by: Alexander E. Patrakov (semzx at newmail dot ru)
  Date: 2003-10-14
  Origin: Alexander E. Patrakov
  Initial Package Version: 1.1.0
  Description: The procedure OpenOffice performs for conversion of host names to
  fully qualified domain names is Just Wrong. It results in a DNS lookup for
  'localhost.(none)' at startup on a typical (B)LFS installation. That slows down
  things and makes DNS admins angry. The Right Thing is to do nothing in
  OpenOffice itself. Glibc will take care of that automatically.
  For discussion, see:
  http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2003-October/039508.html
  
  
  --- oo_1.1_src/sal/osl/unx/socket.c	2003-10-14 10:05:55.000000000 +0600
  +++ oo_1.1_src/sal/osl/unx/socket.c	2003-10-14 10:07:58.000000000 +0600
  @@ -901,6 +901,7 @@
   
   static sal_Char* _osl_getFullQualifiedDomainName (const sal_Char *pHostName)
   {
  +	return strdup(pHostName);
   #	define DOMAINNAME_LENGTH 512
   	sal_uInt32 			nLengthOfHostName;
   	static sal_uInt32 	nLengthOfDomainName = 0;
  
  
  
  1.1                  patches/openoffice/openoffice-1.1.0-jdk-1.4.2-fix.patch
  
  Index: openoffice-1.1.0-jdk-1.4.2-fix.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-14
  Initial Package Version: 1.1.0
  Origin: http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2003-October/003975.html
          Posted by Michael Brömer
  Description: Fixes compilation with jdk-1.4.2
  --- oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java.orig	2003-10-14 00:36:53.000000000 -0500
  +++ oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java	2003-10-14 00:38:40.000000000 -0500
  @@ -207,7 +207,7 @@
      index--;
     }
   
  -  public org.openide.WizardDescriptor$Panel current()
  +  public org.openide.WizardDescriptor.Panel current()
      {
        return panels[index];
      }
  --- oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java.orig	2003-10-14 00:37:27.000000000 -0500
  +++ oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java	2003-10-14 00:38:53.000000000 -0500
  @@ -214,7 +214,7 @@
           index--;
       }
       
  -    public org.openide.WizardDescriptor$Panel current() {
  +    public org.openide.WizardDescriptor.Panel current() {
           return panels[index];
       }
       
  --- oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOAddInCreateIterator.java.orig	2003-10-14 00:37:55.000000000 -0500
  +++ oo_1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOAddInCreateIterator.java	2003-10-14 00:39:05.000000000 -0500
  @@ -200,7 +200,7 @@
           index--;
       }
       
  -    public org.openide.WizardDescriptor$Panel current() {
  +    public org.openide.WizardDescriptor.Panel current() {
           return panels[index];
       }
       
  
  
  



More information about the patches mailing list