SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Index: galerautils/src/gu_fdesc.cpp
--- galerautils/src/gu_fdesc.cpp.orig
+++ galerautils/src/gu_fdesc.cpp
@@ -235,6 +235,9 @@ namespace gu
#if defined(__APPLE__)
if (-1 == fcntl (fd_, F_SETSIZE, size_) && -1 == ftruncate (fd_, size_))
{
+#elif defined(__OpenBSD__)
+ {
+ errno = ENOSYS;
#else
int const ret = posix_fallocate (fd_, start, diff);
if (0 != ret)