aboutsummaryrefslogtreecommitdiff
path: root/net/mars_nwe/files/patch-nwserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mars_nwe/files/patch-nwserv.c')
-rw-r--r--net/mars_nwe/files/patch-nwserv.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/mars_nwe/files/patch-nwserv.c b/net/mars_nwe/files/patch-nwserv.c
new file mode 100644
index 000000000000..e592a10cc807
--- /dev/null
+++ b/net/mars_nwe/files/patch-nwserv.c
@@ -0,0 +1,22 @@
+--- nwserv.c.orig Thu Jan 23 23:54:21 2003
++++ nwserv.c Thu Jan 23 23:54:55 2003
+@@ -1269,9 +1269,6 @@
+ fprintf(stderr, "You must have root permission !\n");
+ exit(1);
+ }
+-#ifdef FREEBSD
+- set_emu_tli();
+-#endif
+ tzset();
+ while (++j < argc) {
+ char *a=argv[j];
+@@ -1341,6 +1338,9 @@
+ #endif
+ setgroups(0, NULL);
+ init_tools(IN_PROG, init_mode);
++#ifdef FREEBSD
++ set_emu_tli();
++#endif
+ set_sigs(0);
+ get_ini(1);
+ #if !IN_NWROUTED