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:36:35 +0000 (20:36 -0700)
commite1cb7f98d8f6859bdf58e378348a713c66b8ec79
tree4f977d073b84d0773d8e6e5827f5c9ae079e3f07
parentbc8fc4fb761767ebd58343f78a2558a06dc381a2
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]