As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
20
net/libcares/patches/patch-src_lib_ares__socket_c
Normal file
20
net/libcares/patches/patch-src_lib_ares__socket_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
Revert the change from https://github.com/c-ares/c-ares/pull/659
|
||||
because it breaks node (https://github.com/nodejs/node/issues/52439)
|
||||
and likely other use cases as well.
|
||||
|
||||
Index: src/lib/ares__socket.c
|
||||
--- src/lib/ares__socket.c.orig
|
||||
+++ src/lib/ares__socket.c
|
||||
@@ -253,12 +253,6 @@ ares_status_t ares__open_connection(ares_channel_t
|
||||
struct server_connection *conn;
|
||||
ares__llist_node_t *node;
|
||||
int type = is_tcp ? SOCK_STREAM : SOCK_DGRAM;
|
||||
-#ifdef __OpenBSD__
|
||||
- if ((is_tcp && server->tcp_port == 53) ||
|
||||
- (!is_tcp && server->udp_port == 53)) {
|
||||
- type |= SOCK_DNS;
|
||||
- }
|
||||
-#endif
|
||||
|
||||
switch (server->addr.family) {
|
||||
case AF_INET:
|
Loading…
Add table
Add a link
Reference in a new issue