1 Fix build issues on Darwin.
3 --- a/devtools/OS/Darwin 2014-03-05 01:59:45.000000000 +0100
4 +++ b/devtools/OS/Darwin 2020-05-18 14:47:57.000000000 +0200
6 # We look a lot more like 4.4BSD than NeXTStep or OpenStep.
8 define(`confCC', `cc -traditional-cpp -pipe ${Extra_CC_Flags}')
9 +define(`confCCOPTS_SO', `-fPIC')
10 +define(`confSOEXT', `dylib')
11 define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX -DNETINFO -DAUTO_NETINFO_ALIASES -DAUTO_NETINFO_HOSTS')
12 define(`confENVDEF', `-DDARWIN')
13 define(`confLDOPTS', `${Extra_LD_Flags}')
14 --- a/sendmail/sendmail.h 2020-05-18 14:51:17.000000000 +0200
15 +++ b/sendmail/sendmail.h 2020-05-18 14:51:00.000000000 +0200
20 -# include <arpa/nameser.h>
22 +# include <arpa/nameser_compat.h>
24 +# include <arpa/nameser.h>
27 # undef NOERROR /* avoid <sys/streams.h> conflict */