public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/, net-nds/openldap/files/
Date: Thu,  1 Dec 2022 05:17:54 +0000 (UTC)	[thread overview]
Message-ID: <1669871578.2796665929bb8baa0d9ffa0e17d1c573b9fdef02.sam@gentoo> (raw)

commit:     2796665929bb8baa0d9ffa0e17d1c573b9fdef02
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 05:08:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 05:12:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27966659

net-nds/openldap: another pthread configure fix

Bug: https://bugs.gentoo.org/871372
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../openldap/files/openldap-2.6.3-clang16.patch    | 22 +++++++++++++++++++---
 ...ap-2.6.3-r2.ebuild => openldap-2.6.3-r3.ebuild} |  0
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/net-nds/openldap/files/openldap-2.6.3-clang16.patch b/net-nds/openldap/files/openldap-2.6.3-clang16.patch
index 216d567329c5..7027197281b2 100644
--- a/net-nds/openldap/files/openldap-2.6.3-clang16.patch
+++ b/net-nds/openldap/files/openldap-2.6.3-clang16.patch
@@ -78,7 +78,20 @@ Bug: https://bugs.gentoo.org/871372
  {
  	int epfd = epoll_create(256);
  	exit (epfd == -1 ? 1 : 0);
-@@ -1551,6 +1555,9 @@ dnl			esac
+@@ -1493,10 +1497,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
+@@ -1551,6 +1553,9 @@ dnl			esac
  				AC_CACHE_CHECK([if select yields when using pthreads],
  					ol_cv_pthread_select_yields,[
  				AC_RUN_IFELSE([AC_LANG_SOURCE([[
@@ -88,7 +101,7 @@ Bug: https://bugs.gentoo.org/871372
  #include <sys/types.h>
  #include <sys/time.h>
  #include <unistd.h>
-@@ -1561,8 +1568,7 @@ dnl			esac
+@@ -1561,8 +1566,7 @@ dnl			esac
  
  static int fildes[2];
  
@@ -98,7 +111,7 @@ Bug: https://bugs.gentoo.org/871372
  {
  	int i;
  	struct timeval tv;
-@@ -1586,9 +1592,7 @@ static void *task(p)
+@@ -1586,9 +1590,7 @@ static void *task(p)
  	exit(0); /* if we exit here, the select blocked the whole process */
  }
  
@@ -167,3 +180,6 @@ Bug: https://bugs.gentoo.org/871372
  {
  	(void)close(LogFile);
  	LogFile = -1;
+-- 
+2.38.1
+

diff --git a/net-nds/openldap/openldap-2.6.3-r2.ebuild b/net-nds/openldap/openldap-2.6.3-r3.ebuild
similarity index 100%
rename from net-nds/openldap/openldap-2.6.3-r2.ebuild
rename to net-nds/openldap/openldap-2.6.3-r3.ebuild


             reply	other threads:[~2022-12-01  5:17 UTC|newest]

Thread overview: 14+ 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 --
2025-02-18  4:05 [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/, net-nds/openldap/files/ Sam James
2025-02-18  3:39 Sam James
2024-08-25  0:57 Robin H. Johnson
2023-02-09 23:48 Robin H. Johnson
2023-01-30 16:46 Mike Gilbert
2022-11-25  7:05 Sam James
2022-05-09 23:08 Sam James
2022-03-20 21:04 Sam James
2022-03-19 18:07 Robin H. Johnson
2021-05-02 11:22 Mikle Kolyada
2021-03-25 13:14 Sam James
2019-02-21 19:47 Patrick McLean
2017-02-20  0:36 Robin H. Johnson

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=1669871578.2796665929bb8baa0d9ffa0e17d1c573b9fdef02.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