Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 18:54:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414954 - head/textproc/htdig/files
Message-ID:  <201605101854.u4AIsL3h032251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue May 10 18:54:21 2016
New Revision: 414954
URL: https://svnweb.freebsd.org/changeset/ports/414954

Log:
  - Fix build with libc++ 3.8.0 by ignoring ETIME errno which does not exist on FreeBSD
  
  PR:		209101
  Submitted by:	dim@FreeBSD.org

Added:
  head/textproc/htdig/files/patch-db_mut__pthread.c   (contents, props changed)

Added: head/textproc/htdig/files/patch-db_mut__pthread.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/htdig/files/patch-db_mut__pthread.c	Tue May 10 18:54:21 2016	(r414954)
@@ -0,0 +1,15 @@
+--- db/mut_pthread.c.orig	2002-02-02 18:18:05 UTC
++++ db/mut_pthread.c
+@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp)
+ 			 * call, and Solaris delivers the signal to the wrong
+ 			 * LWP.
+ 			 */
+-			if (ret != 0 && ret != ETIME && ret != ETIMEDOUT)
++			if (ret != 0 &&
++#ifndef __FreeBSD__
++			    ret != ETIME &&
++#endif
++			    ret != ETIMEDOUT)
+ 				return (ret);
+ 		}
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605101854.u4AIsL3h032251>