Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2017 21:01:37 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456947 - in head/net-p2p/retroshare: . files
Message-ID:  <201712212101.vBLL1bsp039127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim (src committer)
Date: Thu Dec 21 21:01:37 2017
New Revision: 456947
URL: https://svnweb.freebsd.org/changeset/ports/456947

Log:
  Fix build of net-p2p/retroshare with recent versions of clang.
  
  Approved by:	portmgr blanket
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
  PR:		216637
  MFH:		2017Q4

Added:
  head/net-p2p/retroshare/files/patch-libbitdht_src_util_bdthreads.cc   (contents, props changed)
Modified:
  head/net-p2p/retroshare/Makefile

Modified: head/net-p2p/retroshare/Makefile
==============================================================================
--- head/net-p2p/retroshare/Makefile	Thu Dec 21 20:30:46 2017	(r456946)
+++ head/net-p2p/retroshare/Makefile	Thu Dec 21 21:01:37 2017	(r456947)
@@ -4,7 +4,7 @@
 PORTNAME=	retroshare
 PORTVERSION=	0.6.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net-p2p
 
 MAINTAINER=	peter@netkey.at
@@ -23,10 +23,6 @@ LIB_DEPENDS=	libsqlcipher.so:databases/sqlcipher \
 		libavcodec.so:multimedia/ffmpeg \
 		libcurl.so:ftp/curl \
 		libmicrohttpd.so:www/libmicrohttpd
-
-BROKEN_aarch64=		fails to compile due to clang 4.0 regression: util/bdthreads.cc:132:10: ordered comparison between pointer and zero
-BROKEN_armv6=		fails to compile due to clang 4.0 regression: util/bdthreads.cc:132:10: ordered comparison between pointer and zero
-BROKEN_armv7=		fails to compile due to clang 4.0 regression: util/bdthreads.cc:132:10: ordered comparison between pointer and zero
 
 USES=		compiler:features desktop-file-utils dos2unix pkgconfig qmake ssl
 USE_GNOME=	glib20 libxml2 libxslt

Added: head/net-p2p/retroshare/files/patch-libbitdht_src_util_bdthreads.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/retroshare/files/patch-libbitdht_src_util_bdthreads.cc	Thu Dec 21 21:01:37 2017	(r456947)
@@ -0,0 +1,11 @@
+--- libbitdht/src/util/bdthreads.cc.orig	2016-08-31 11:24:02 UTC
++++ libbitdht/src/util/bdthreads.cc
+@@ -129,7 +129,7 @@ void bdThread::join() /* waits for the the mTid thread
+ #if defined(_WIN32) || defined(__MINGW32__)
+ 	/* Its a struct in Windows compile and the member .p ist checked in the pthreads library */
+ #else
+-	if(mTid > 0)
++	if(mTid != NULL)
+ #endif
+ 		pthread_join(mTid, NULL);
+ 



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