From mi@misha.cisco.com Tue May 11 16:06:13 1999
Return-Path: <mi@misha.cisco.com>
Received: from misha.cisco.com (misha.cisco.com [171.69.206.50])
	by hub.freebsd.org (Postfix) with ESMTP id 396ED1506E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 May 1999 16:06:02 -0700 (PDT)
	(envelope-from mi@misha.cisco.com)
Received: (from mi@localhost)
	by misha.cisco.com (8.9.2/8.9.1) id TAA29187;
	Tue, 11 May 1999 19:06:02 -0400 (EDT)
	(envelope-from mi)
Message-Id: <199905112306.TAA29187@misha.cisco.com>
Date: Tue, 11 May 1999 19:06:02 -0400 (EDT)
From: Mikhail Teterin <mi@misha.cisco.com>
Reply-To: mi@aldan.algebra.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: lyx-port needs a patch until the next LyX release
X-Send-Pr-Version: 3.2

>Number:         11656
>Category:       ports
>Synopsis:       lyx-port needs a patch until the next LyX release
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    andreas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 11 16:10:00 PDT 1999
>Closed-Date:    Mon Jul 5 12:19:30 PDT 1999
>Last-Modified:  Mon Jul  5 12:20:25 PDT 1999
>Originator:     Mikhail Teterin
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

	See:

	http://www.mail-archive.com/lyx-users@lists.lyx.org/msg00610.html

>How-To-Repeat:

	See description -- the DVI and PostScript previews do not get
	updated with the changes made inside LyX until LyX is restarted.

>Fix:
	
	The patch below is from:
	http://www.mail-archive.com/lyx-users@lists.lyx.org/msg00611.html

Index: filetools.C
===================================================================
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/filetools.C,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- src/filetools.C 1999/02/11 14:46:11     1.2
+++ src/filetools.C 1999/05/07 13:09:00     1.3
@@ -517,7 +517,7 @@
 		delete[] with_drive;
 #endif
 	} else
-		TempBase = safer_getcwd();
+		TempBase = GetCWD(); //safer_getcwd();
 #ifdef __EMX__
 	if (AbsolutePath(TempRel))
 		return TempBase.substring(0,1) + TempRel;

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->andreas 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun May 16 16:28:44 PDT 1999 
Responsible-Changed-Why:  
Over to port's maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: andreas 
State-Changed-When: Mon Jul 5 12:19:30 PDT 1999 
State-Changed-Why:  
upgraded lyx port to 1.0.3, committed changes 
>Unformatted:
