Kris Moore kris@pcbsd.com writes:
--- dlls/kernel32/process.c.orig 2007-12-12 12:34:45.000000000 -0500 +++ dlls/kernel32/process.c 2007-12-12 12:35:17.000000000 -0500 @@ -853,6 +853,11 @@ */ static void set_process_name( int argc, char *argv[] ) {
+#if defined(__FreeBSD__)
- setproctitle("-%s", argv[1]);
+#endif
You should add a configure check for this function, instead of checking for __FreeBSD__.