1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/emulators/teo/files/patch-src_std.c
Tobias Kortkamp 3eaed5200a New port: emulators/teo
Teo is an emulator of the Thomson TO8 microcomputer for PC, running
on MSDOS, Windows, Linux, and FreeBSD.

The compatibility is close to 100% for softwares which don't use
non emulated peripherals and don't hold physical protections.

WWW: https://sourceforge.net/projects/teoemulator/

PR:		235563
Submitted by:	Thomas Bernard <nanard@free.fr>
2019-02-08 07:44:45 +00:00

13 lines
399 B
C

--- src/std.c.orig 2017-11-03 16:40:23 UTC
+++ src/std.c
@@ -364,8 +364,7 @@ char *std_ApplicationPath (const char di
{
static char *fname = NULL;
- fname = NULL;
-#ifdef DEBIAN_BUILD
+#if !defined(__DJGPP__) && !defined(_WIN32)
/* create private directory if necessary */
fname = std_strdup_printf ("%s/.config/%s", getenv("HOME"), dirname);
if (access (fname, F_OK) < 0)