Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation on Ubuntu 22.04 #219

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

crigler
Copy link
Contributor

@crigler crigler commented Feb 27, 2023

Fix issue #218 by having configure check whether the 3 resolver functions start with a __ prefix instead of having the code depend on the GLIBC version number.

Also rename the hex_to_string array in include/dh.h since OpenSSL 3.0 started complaining that the array conflicts with an OpenSSL function.

Starting with glibc 2.34 "The symbols __dn_comp, __dn_expand,
__dn_skipname, __res_dnok, __res_hnok, __res_mailok, __res_mkquery,
__res_nmkquery, __res_nquery, __res_nquerydomain, __res_nsearch,
__res_nsend, __res_ownok, __res_query, __res_querydomain, __res_search,
__res_send formerly in libresolv have been renamed and no longer have a
__ prefix.  They are now available in libc."
https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

The hex_to_string array in include/dh.h also conflicts with OpenSSL,
which OpenSSL 3.0 now complains about.
progval pushed a commit to progval/irctest that referenced this pull request Jun 25, 2023
* Update workflows to run on Ubuntu 22.04.

* Add a patch to fix Bahamut on Ubuntu 22.04.

Source: DALnet/bahamut#219

* Add a patch to fix Charybdis on Ubuntu 22.04.
@eaescob eaescob requested review from eaescob and rscs July 7, 2023 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants