components/emacs/patches/dldump.patch
author Ali Bahrami <Ali.Bahrami@Oracle.COM>
Mon, 13 Feb 2012 09:15:28 -0700
changeset 686 b4fe91eb660b
parent 176 11a04b640bf2
permissions -rw-r--r--
7087610 emacs runpath points at wrong ELFCLASS as well as being redundant 7048759 font not available error when attempting to set default font in emacs-gtk 7117531 update GNU Emacs to 23.4

*** emacs-23.4.orig/src/s/sol2-6.h	Mon Oct 17 19:20:46 2011
--- emacs-23.4/src/s/sol2-6.h	Tue Feb  7 12:38:02 2012
***************
*** 2,11 ****
  
  #include "sol2-5.h"
  
! #if 0 /* dldump does not handle all the extensions used by GNU ld.  */
  #undef UNEXEC
  #define UNEXEC unexsol.o
- #endif
  
  /* arch-tag: 71ea3857-89dc-4395-9623-77964e6ed3ca
     (do not change this comment) */
--- 2,18 ----
  
  #include "sol2-5.h"
  
! /*
!  * Use the Solaris dldump() function to dump emacs, instead of
!  * the generic unexelf code.
!  *
!  * If you encounter a problem using dldump(), please consider sending
!  * a message to the OpenSolaris tools-linking mailing list:
!  *      http://mail.opensolaris.org/mailman/listinfo/tools-linking
!  */
! 
  #undef UNEXEC
  #define UNEXEC unexsol.o
  
  /* arch-tag: 71ea3857-89dc-4395-9623-77964e6ed3ca
     (do not change this comment) */