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
This commit is contained in:
parent
438a34de71
commit
b2c3984a64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456947
2 changed files with 12 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
PORTNAME= retroshare
|
||||
PORTVERSION= 0.6.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= net-p2p
|
||||
|
||||
MAINTAINER= peter@netkey.at
|
||||
|
@ -24,10 +24,6 @@ LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \
|
|||
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
|
||||
USE_GL= gl
|
||||
|
|
|
@ -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);
|
||||
|
Loading…
Reference in a new issue