From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntp/, net-misc/ntp/files/
Date: Thu, 1 Dec 2022 05:17:54 +0000 (UTC) [thread overview]
Message-ID: <1669871579.56ef5ce33891feec34cd0c39a0a774a81a587dc7.sam@gentoo> (raw)
commit: 56ef5ce33891feec34cd0c39a0a774a81a587dc7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 1 05:12:50 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 1 05:12:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ef5ce3
net-misc/ntp: another pthread configure fix
Closes: https://bugs.gentoo.org/871372
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ntp/files/ntp-4.2.8_p15-configure-clang16.patch | 18 ++++++++++++++++++
...ntp-4.2.8_p15-r3.ebuild => ntp-4.2.8_p15-r4.ebuild} | 0
2 files changed, 18 insertions(+)
diff --git a/net-misc/ntp/files/ntp-4.2.8_p15-configure-clang16.patch b/net-misc/ntp/files/ntp-4.2.8_p15-configure-clang16.patch
index d0dc2ad014b4..4b52248bde8f 100644
--- a/net-misc/ntp/files/ntp-4.2.8_p15-configure-clang16.patch
+++ b/net-misc/ntp/files/ntp-4.2.8_p15-configure-clang16.patch
@@ -1,6 +1,21 @@
Sync with OpenLDAP. Uses Arsen's patch from https://bugs.gentoo.org/871288.
https://bugs.gentoo.org/871372
+--- a/sntp/m4/openldap-thread-check.m4
++++ b/sntp/m4/openldap-thread-check.m4
+@@ -262,10 +262,8 @@ pthread_rwlock_t rwlock;
+ dnl save the flags
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ #include <pthread.h>
+-#ifndef NULL
+-#define NULL (void*)0
+-#endif
+-]], [[pthread_detach(NULL);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no])
++pthread_t thread;
++]], [[pthread_detach(thread);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no])
+ ])
+
+ if test $ol_cv_func_pthread_detach = no ; then
--- a/sntp/m4/openldap.m4
+++ b/sntp/m4/openldap.m4
@@ -1,16 +1,16 @@
@@ -590,3 +605,6 @@ https://bugs.gentoo.org/871372
-#endif
- ], [ol_cv_ssl_crl_compat=yes], [ol_cv_ssl_crl_compat=no])])
-])
+--
+2.38.1
+
diff --git a/net-misc/ntp/ntp-4.2.8_p15-r3.ebuild b/net-misc/ntp/ntp-4.2.8_p15-r4.ebuild
similarity index 100%
rename from net-misc/ntp/ntp-4.2.8_p15-r3.ebuild
rename to net-misc/ntp/ntp-4.2.8_p15-r4.ebuild
next reply other threads:[~2022-12-01 5:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 5:17 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-04 1:15 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntp/, net-misc/ntp/files/ Sam James
2023-02-14 0:40 Mike Gilbert
2022-06-03 5:32 Sam James
2021-10-17 6:21 Sam James
2020-07-27 19:02 Lars Wendler
2020-06-23 16:16 Lars Wendler
2020-05-02 18:59 Thomas Deutschmann
2020-03-05 18:51 Lars Wendler
2018-12-08 1:49 Patrick McLean
2016-01-13 10:28 Lars Wendler
2015-10-25 1:07 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669871579.56ef5ce33891feec34cd0c39a0a774a81a587dc7.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox