From xemacs-m  Thu Sep  4 09:54:47 1997
Received: from wfdutilgw.ml.com (wfdutilf01.ml.com [206.3.74.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA03843
	for <xemacs-beta@xemacs.org>; Thu, 4 Sep 1997 09:54:44 -0500 (CDT)
Received: from ml1.ml.com ([199.201.57.130])
	by wfdutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id KAA28736
	for <xemacs-beta@xemacs.org>; Thu, 4 Sep 1997 10:55:46 -0400 (EDT)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24])
	by ml1.ml.com (8.8.5/8.8.5/MLml4-2.07) with SMTP id KAA05580
	for <xemacs-beta@xemacs.org>; Thu, 4 Sep 1997 10:54:12 -0400 (EDT)
Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id KAA13398 for <xemacs-beta@xemacs.org>; Thu, 4 Sep 1997 10:54:12 -0400
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id KAA03683; Thu, 4 Sep 1997 10:54:12 -0400
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: [PATCH]  Re: Kyiv package failure under sparc-sun-solaris2.5.1
References: <ocrbu2al4j1.fsf@ml.com> <m2bu2a5cpc.fsf@altair.xemacs.org> <ocr7mcykqza.fsf@ml.com>
X-Face: y,o:AU/bfCrS+zS/W"^puB!rT!G7?U1Mvp1Hd{6h^>X4@Xp5,|g+rG>4gv/iy^&x9`k#s!]X~{]Js>@A4c}4Z"Ct7=#1nPS:?mrWH8c#>$)>/Wc5yuX_OFO1(4cZM{LvsKWVQSl~/i>!n[-B*i-alq[/m\bsdy;W4p(_ic;$BE.oG@eJf@sr#x#}FT<=H8Ozu%g;JpVz:v_~vt[>ef/MeNeo3~D^R]]*bB7{HB|E1$wfMzw
X-Y-Zippy: FIRST, I was in a TRUCK...THEN, I was in a DINER...
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Thu_Sep__4_10:54:11_1997-1"
Content-Transfer-Encoding: 7bit
From: Colin Rafferty <craffert@ml.com>
Date: 04 Sep 1997 10:54:11 -0400
In-Reply-To: Colin Rafferty's message of "03 Sep 1997 17:49:29 -0400"
Message-ID: <ocrwwkxxh7w.fsf@ml.com>
Lines: 84
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kiev"

--Multipart_Thu_Sep__4_10:54:11_1997-1
Content-Type: text/plain; charset=US-ASCII

Colin Rafferty writes:
> SL Baur writes:

>> This patch is lightly tested but should cure the fuckage associated
>> with non-package loading at dump.

> This should probably do it.  I have started a build, and am off to see
> the Mets beat the Blue Jays (I hope).  I'll let you know tomorrow.

Everything is great.  However, I hate the fact that the package-path
gets put into the load-path backwards.  Here is a patch for that:


--Multipart_Thu_Sep__4_10:54:11_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="patch"
Content-Transfer-Encoding: 8bit

*** lisp/prim/packages.el~	Wed Sep  3 17:38:19 1997
--- lisp/prim/packages.el	Thu Sep  4 10:34:58 1997
***************
*** 206,212 ****
  If the optional argument `suppress-user' is non-nil, package directories
  rooted in a user login directory (like ~/.xemacs) will not be searched.
  This is used at dump time to suppress the builder's local environment."
!   (let ((path pkg-path)
  	dir)
      (while path
        (setq dir (car path))
--- 206,212 ----
  If the optional argument `suppress-user' is non-nil, package directories
  rooted in a user login directory (like ~/.xemacs) will not be searched.
  This is used at dump time to suppress the builder's local environment."
!   (let ((path (reverse pkg-path))
  	dir)
      (while path
        (setq dir (car path))
*** configure.in~	Tue Sep  2 23:39:06 1997
--- configure.in	Thu Sep  4 10:51:48 1997
***************
*** 491,497 ****
  			are \`lockf', \`flock', and \`file'.
  --package-path=PATH     A list of blank separated directories for finding 
                          packages to dump with xemacs.
! 			Defaults to \`$prefix/lib/xemacs/packages ~/.xemacs'
  
  Internationalization options:
  
--- 491,497 ----
  			are \`lockf', \`flock', and \`file'.
  --package-path=PATH     A list of blank separated directories for finding 
                          packages to dump with xemacs.
! 			Defaults to \`~/.xemacs $prefix/lib/xemacs/packages'
  
  Internationalization options:
  
***************
*** 3375,3381 ****
  
  dnl if --package-path wasn't passed to configure, give the default value
  if test "x${package_path}" = "xNONE" ; then
! 	package_path="${prefix}/lib/xemacs/packages:~/.xemacs"
  fi
  dnl change blanks to colons in package path, and make available to config.h
  package_path=`echo $package_path | sed 'y/ /:/'`
--- 3375,3381 ----
  
  dnl if --package-path wasn't passed to configure, give the default value
  if test "x${package_path}" = "xNONE" ; then
! 	package_path="~/.xemacs:${prefix}/lib/xemacs/packages"
  fi
  dnl change blanks to colons in package path, and make available to config.h
  package_path=`echo $package_path | sed 'y/ /:/'`

--Multipart_Thu_Sep__4_10:54:11_1997-1
Content-Type: text/plain; charset=US-ASCII

-- 
Colin

--Multipart_Thu_Sep__4_10:54:11_1997-1--

