diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2024-04-25 07:50:04 +0000 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2024-04-25 07:50:04 +0000 |
commit | 9fa5ded7494b548e2aca67bc839845d68604758f (patch) | |
tree | 3aba417d324ee931b9503f96e708ed3c78ffe47b | |
parent | b711ed7d03bd385b0b48ec7537f1258049eb22db (diff) | |
download | ports-9fa5ded7494b548e2aca67bc839845d68604758f.tar.gz ports-9fa5ded7494b548e2aca67bc839845d68604758f.zip |
www/*chromium: check for non-portable pthread functions in pthread_np.h only
PR: 278560
-rw-r--r-- | www/chromium/files/patch-third__party_ffmpeg_configure | 13 | ||||
-rw-r--r-- | www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_ffmpeg_configure b/www/chromium/files/patch-third__party_ffmpeg_configure new file mode 100644 index 000000000000..4ef45be429b6 --- /dev/null +++ b/www/chromium/files/patch-third__party_ffmpeg_configure @@ -0,0 +1,13 @@ +--- third_party/ffmpeg/configure.orig 2024-04-25 07:48:13 UTC ++++ third_party/ffmpeg/configure +@@ -6713,8 +6713,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en + if enabled pthread_np_h; then + hdrs="$hdrs pthread_np.h" + fi +- check_lib pthread_set_name_np "$hdrs" pthread_set_name_np -lpthread +- check_lib pthread_setname_np "$hdrs" pthread_setname_np -lpthread ++ check_lib pthread_set_name_np pthread_np.h pthread_set_name_np -lpthread ++ check_lib pthread_setname_np pthread_np.h pthread_setname_np -lpthread + fi + fi + diff --git a/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure b/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure new file mode 100644 index 000000000000..4ef45be429b6 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure @@ -0,0 +1,13 @@ +--- third_party/ffmpeg/configure.orig 2024-04-25 07:48:13 UTC ++++ third_party/ffmpeg/configure +@@ -6713,8 +6713,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en + if enabled pthread_np_h; then + hdrs="$hdrs pthread_np.h" + fi +- check_lib pthread_set_name_np "$hdrs" pthread_set_name_np -lpthread +- check_lib pthread_setname_np "$hdrs" pthread_setname_np -lpthread ++ check_lib pthread_set_name_np pthread_np.h pthread_set_name_np -lpthread ++ check_lib pthread_setname_np pthread_np.h pthread_setname_np -lpthread + fi + fi + |