summaryrefslogtreecommitdiff
path: root/databases/firebird30-server/files/patch-src_remote_SockAddr.h
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-06-27 20:11:43 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-06-27 20:14:20 -0500
commitca43515803a2c11ec91ed6f32aa3155628e45ae8 (patch)
tree3c4ebd8d0470b0d3b1756cb193b97ff330b369d2 /databases/firebird30-server/files/patch-src_remote_SockAddr.h
parentbiology/biostar-tools: Remove falsehood in pkg-message (diff)
databases/fireird30-[client|server]: New port: Firebird-3 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/ PR: 254387
Diffstat (limited to 'databases/firebird30-server/files/patch-src_remote_SockAddr.h')
-rw-r--r--databases/firebird30-server/files/patch-src_remote_SockAddr.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/firebird30-server/files/patch-src_remote_SockAddr.h b/databases/firebird30-server/files/patch-src_remote_SockAddr.h
new file mode 100644
index 000000000000..30297137c2c5
--- /dev/null
+++ b/databases/firebird30-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;
+