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
|
@ -4,12 +4,11 @@ since the latter is unreliable. Fixes "samenet"/"samehost".
|
|||
Index: src/backend/libpq/ifaddr.c
|
||||
--- src/backend/libpq/ifaddr.c.orig
|
||||
+++ src/backend/libpq/ifaddr.c
|
||||
@@ -200,17 +200,16 @@ run_ifaddr_callback(PgIfAddrCallback callback, void *c
|
||||
@@ -189,16 +189,14 @@ run_ifaddr_callback(PgIfAddrCallback callback, void *c
|
||||
/* Check that the mask is valid */
|
||||
if (mask)
|
||||
{
|
||||
- if (mask->sa_family != addr->sa_family)
|
||||
+
|
||||
+ /* mask->sa_family can be different from addr->sa_family. */
|
||||
+
|
||||
+ if (addr->sa_family == AF_INET)
|
||||
|
@ -21,7 +20,6 @@ Index: src/backend/libpq/ifaddr.c
|
|||
if (((struct sockaddr_in *) mask)->sin_addr.s_addr == INADDR_ANY)
|
||||
mask = NULL;
|
||||
}
|
||||
#ifdef HAVE_IPV6
|
||||
- else if (mask->sa_family == AF_INET6)
|
||||
+ else if (addr->sa_family == AF_INET6)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue