Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 1999 19:06:02 -0400 (EDT)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11656: lyx-port needs a patch until the next LyX release
Message-ID:  <199905112306.TAA29187@misha.cisco.com>

next in thread | raw e-mail | index | archive | help

>Number:         11656
>Category:       ports
>Synopsis:       lyx-port needs a patch until the next LyX release
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 11 16:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905112306.TAA29187>