opendkim: Fix compilation with uClibc-ng
authorRosen Penev <rosenp@gmail.com>
Fri, 19 Jul 2019 07:02:21 +0000 (00:02 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 24 Jul 2019 03:34:59 +0000 (20:34 -0700)
commit0d05301e181a596d174d6ab44ea394a6bb8528ed
treef244b7e7ad9a1d79774adcb266cf437a22fe6b50
parenteee9c627c87531b68f1aa98853fff6f1371783cb
opendkim: Fix compilation with uClibc-ng

res_nsend and res_send are both not available in uClibc-ng as configured
in OpenWrt. Having this function return an error is the only sensible way
to fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b5b776fc9ad807739977e82f809c3fe7b485d262)
mail/opendkim/Makefile
mail/opendkim/patches/020-uclibc.patch [new file with mode: 0644]