root/trunk/ports/net/macathena-moira/files/patch-lib-mr_init.c

Revision 212, 0.6 kB (checked in by quentin, 5 years ago)

Add patch

Line 
1 --- lib/mr_init.c.orig  2019-12-21 14:25:43.000000000 -0500
2 +++ lib/mr_init.c       2019-12-21 14:31:30.000000000 -0500
3 @@ -20,15 +20,12 @@
4    if (mr_inited)
5      return;
6  
7 -#if defined(__APPLE__) && defined(__MACH__)
8 -  add_error_table(&et_sms_error_table);
9 -  add_error_table(&et_krb_error_table);
10 -  add_error_table(&et_ureg_error_table);
11 -#else
12    initialize_sms_error_table();
13    initialize_krb_error_table();
14    initialize_ureg_error_table();
15 -#endif
16 +  add_error_table(&et_sms_error_table);
17 +  add_error_table(&et_krb_error_table);
18 +  add_error_table(&et_ureg_error_table);
19  
20    mr_inited = 1;
21  }
Note: See TracBrowser for help on using the browser.