svn commit: r414954 - head/textproc/htdig/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue May 10 18:54:22 UTC 2016


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 at 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);
+ 		}
+ 


More information about the svn-ports-head mailing list