From owner-svn-ports-all@freebsd.org Thu Dec 21 21:01:39 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26B3AE8A789; Thu, 21 Dec 2017 21:01:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4FD87873C; Thu, 21 Dec 2017 21:01:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBLL1cZT039341; Thu, 21 Dec 2017 21:01:38 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBLL1bsp039127; Thu, 21 Dec 2017 21:01:37 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201712212101.vBLL1bsp039127@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 21 Dec 2017 21:01:37 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in head/net-p2p/retroshare: . files X-SVN-Commit-Revision: 456947 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2017 21:01:39 -0000 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 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); +