FreeBSD Bugzilla – Attachment 249444 Details for
Bug 277915
exp-run: Base + ports changes related to POSIX_VERSION
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
src git-fromat-patch for the run
exp-run-src-posix-version.diff (text/plain), 1.99 KB, created by
Warner Losh
on 2024-03-24 11:08:28 UTC
(
hide
)
Description:
src git-fromat-patch for the run
Filename:
MIME Type:
Creator:
Warner Losh
Created:
2024-03-24 11:08:28 UTC
Size:
1.99 KB
patch
obsolete
>From e883812f463c1623249e038698ccaddf2baa34d8 Mon Sep 17 00:00:00 2001 >From: Warner Losh <imp@FreeBSD.org> >Date: Mon, 18 Mar 2024 19:48:22 -0600 >Subject: [PATCH 1/2] posix_async: FreeBSD also defines > {make|swap|get|set}context > >FreeBSD also defines {make|swap|get|set}context for backward >compatibility, despite also exposing POSIX_VERSION 200809L >in FreeBSD 15-current. > >Note: There's no fallback for POSIX_VERSION 200809 without these >routines, so maybe that should be a #error? ... But that's a questionf >or upstream. > >FreeBSD has defined these interfaces since FreeBSD 4.7, released over 20 >years ago, so no further nuance in FreeBSD version number is necessary. > >Pull Request: https://github.com/openssl/openssl/pull/23885 >--- > crypto/openssl/crypto/async/arch/async_posix.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/crypto/openssl/crypto/async/arch/async_posix.h b/crypto/openssl/crypto/async/arch/async_posix.h >index a17c6b8e68af..2d97ec3acc9b 100644 >--- a/crypto/openssl/crypto/async/arch/async_posix.h >+++ b/crypto/openssl/crypto/async/arch/async_posix.h >@@ -18,7 +18,7 @@ > # include <unistd.h> > > # if _POSIX_VERSION >= 200112L \ >- && (_POSIX_VERSION < 200809L || defined(__GLIBC__)) >+ && (_POSIX_VERSION < 200809L || defined(__GLIBC__) || defined(__FreeBSD__)) > > # include <pthread.h> > >-- >2.39.3 (Apple Git-145) > > >From 30b9db5dac7ecc28d07ffa00c66b5f4361beac06 Mon Sep 17 00:00:00 2001 >From: Warner Losh <imp@FreeBSD.org> >Date: Mon, 18 Mar 2024 19:48:50 -0600 >Subject: [PATCH 2/2] FreeBSD bump POSIX_VERISON to 200809L > >--- > sys/sys/unistd.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h >index 6128aab61877..096d3444f997 100644 >--- a/sys/sys/unistd.h >+++ b/sys/sys/unistd.h >@@ -93,7 +93,7 @@ > #endif > > /* Define the POSIX.1 version we target for compliance. */ >-#define _POSIX_VERSION 200112L >+#define _POSIX_VERSION 200809L > > /* access function */ > #define F_OK 0 /* test for existence of file */ >-- >2.39.3 (Apple Git-145) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277915
:
249443
| 249444 |
249580