diff options
| author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2021-06-27 20:26:38 -0500 |
|---|---|---|
| committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2021-06-27 20:26:38 -0500 |
| commit | dbbc9f821bd9039ff5679100be826ecf4c585fb3 (patch) | |
| tree | a9869f4d47deb4b52397829ff54464f1fcb7dd47 /databases/firebird40-server/files/patch-src_remote_SockAddr.h | |
| parent | databases/fireird30-[client|server]: New port: Firebird-3 relational database (diff) | |
databases/firebird40-[client|server]: New port: Firebird-4 relational database
Firebird is a relational database offering many ANSI SQL-99 features
that runs on Linux, Windows, and a variety of Unix platforms. Firebird
offers excellent concurrency, high performance, and powerful language
support for stored procedures and triggers. It has been used in
production systems, under a variety of names since 1981.
Firebird is completely free of any registration, licensing or deployment
fees. It may be deployed freely for use with any third-party software,
whether commercial or not.
WWW: https://sourceforge.net/projects/firebird/
WWW: http://www.firebirdsql.org/
Diffstat (limited to 'databases/firebird40-server/files/patch-src_remote_SockAddr.h')
| -rw-r--r-- | databases/firebird40-server/files/patch-src_remote_SockAddr.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/firebird40-server/files/patch-src_remote_SockAddr.h b/databases/firebird40-server/files/patch-src_remote_SockAddr.h new file mode 100644 index 000000000000..30297137c2c5 --- /dev/null +++ b/databases/firebird40-server/files/patch-src_remote_SockAddr.h @@ -0,0 +1,25 @@ +--- src/remote/SockAddr.h.orig 2020-10-12 00:02:22 UTC ++++ src/remote/SockAddr.h +@@ -112,11 +112,13 @@ public: + + #define AF_INET6_POSIX 10 + #define AF_INET6_WINDOWS 23 ++#define AF_INET6_BSD 28 + #define AF_INET6_DARWIN 30 + + #if AF_INET6 == AF_INET6_POSIX + #elif AF_INET6 == AF_INET6_WINDOWS + #elif AF_INET6 == AF_INET6_DARWIN ++#elif AF_INET6 == AF_INET6_BSD + #else + #error Unknown value of AF_INET6 ! + #endif +@@ -132,6 +134,7 @@ inline void SockAddr::checkAndFixFamily( + case AF_INET6_POSIX: + case AF_INET6_WINDOWS: + case AF_INET6_DARWIN: ++ case AF_INET6_BSD: + data.sock.sa_family = AF_INET6; + fb_assert(len == sizeof(sockaddr_in6)); + break; + |
