freebsd-ports/games/tenebrae/files/patch-common.c
Alejandro Pulver dc044fd8e7 - Fix mouse problems.
- Fix sound problems.
- Fix building on !i386.
- Fix writting personal configuration, and do it in ~/.tenebrae, to avoid
  conflicts with other engines since they usually have different variables.
- Use USE_DOS2UNIX.
- Remove unneeded information from pkg-message (it depends on quake-data so it
  will be installed automatically, also quake-data installs the demo so
  tenebrae is playable after installation).
- Use release target instead of the debug one.
- Clean-up.

PR:		ports/98783
Approved by:	maintainer (timeout)
2006-06-17 21:32:32 +00:00

13 lines
294 B
C

--- ./common.c.orig Sat Jun 10 12:08:13 2006
+++ ./common.c Sat Jun 10 12:08:13 2006
@@ -2221,7 +2221,10 @@
if ((userdir[j-1] == '\\') || (userdir[j-1] == '/'))
userdir[j-1] = 0;
}
+
+ strncpy (com_prefdir, userdir, j);
COM_AddGameFS (userdir);
+ Sys_mkdir(com_gamedir);
#endif