mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
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>
12 lines
399 B
C
12 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)
|