1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/graphics/xmfract/files/patch-af
Steve Price 2db05006fe Support PREFIX properly. Also split patches one file per.
PR:		21036
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-09-05 01:09:25 +00:00

23 lines
483 B
Plaintext

--- src/init_data.c.orig Wed Jun 21 00:47:04 1995
+++ src/init_data.c Thu Aug 10 22:13:02 2000
@@ -332,7 +332,9 @@
{
char *tempstr = getenv("XMFRACTDIR");
- if (tempstr == NULL) tempstr = getenv("FRACTDIR");
+ if (tempstr == NULL) {
+ tempstr = getenv("FRACTDIR");
+ }
if(tempstr != NULL)
{
@@ -346,7 +348,7 @@
}
if(fractdir == NULL)
- fractdir = getcwd(NULL, 64);
+ fractdir = XMFLACT_LIBDIR;
if(fractdir == NULL)
{