aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libasr/00-use-openbsd-res_randomid.patch
Commit message (Collapse)AuthorAgeFilesLines
* testing/libasr: fix incorrect #define which caused all queries to failJonathan Curran2015-09-151-1/+10
| | | | | | | | I was testing this library with the upcoming OpenSMTPD aport that I am creating. All dns queries were failing. Upon investigation I found that NETDB_SUCCESS in libasr/src/openbsd-compat/defines.h had an incorrect value of -1 being set (it was being defined since NETDB_SUCCESS is not present in musl).
* testing/libasr: fix packageJonathan Curran2015-09-071-0/+944
res_randomid() is not implemented in musl. As such, running `ldd` on the generated .so yields: Error relocating src/libasr-1.0.2/src/.libs/libasr.so.0.0.2: res_randomid: symbol not found This patch implements res_randomid using OpenBSD's implementation. Also changed the source of the tarball to point to the tagged version available at github since it does not assume a specific version of autotools (the older source tarball does). FYI, the included patch is awaiting merging upstream: https://github.com/OpenSMTPD/libasr/pull/10