freebsd-ports/net/xrdp/files/patch-common__os_calls.c
Baptiste Daroussin 77c4e86d88 - update to 0.6.0.20110117 cvs snapshot
- support for for Japanese JP106 keyboard
- add license
- Add runtime dependency on Xvnc

PR:		ports/155509
Submitted by:	"Iwao, Koichiro" <meta _at_ club.kyutech.ac.jp> (maintainer)
2011-04-27 09:29:03 +00:00

11 lines
266 B
C

--- common/os_calls.c.orig 2011-03-12 16:10:35.000000000 +0900
+++ common/os_calls.c 2011-03-12 16:34:05.000000000 +0900
@@ -1987,6 +1987,8 @@
g_clearenv(void)
{
#if defined(_WIN32)
+#elif defined(__FreeBSD__)
+ environ[0] = NULL;
#else
environ = 0;
#endif