summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/libquotient/Makefile2
-rw-r--r--net-im/libquotient/files/patch-lib_qt__connection__util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-im/libquotient/Makefile b/net-im/libquotient/Makefile
index a7baa9492b5b..391de8c11914 100644
--- a/net-im/libquotient/Makefile
+++ b/net-im/libquotient/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libquotient
DISTVERSION= 0.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MAINTAINER= adridg@FreeBSD.org
diff --git a/net-im/libquotient/files/patch-lib_qt__connection__util.h b/net-im/libquotient/files/patch-lib_qt__connection__util.h
index e180df41eedd..a1ee6b2cbc57 100644
--- a/net-im/libquotient/files/patch-lib_qt__connection__util.h
+++ b/net-im/libquotient/files/patch-lib_qt__connection__util.h
@@ -44,7 +44,7 @@ In file included from /usr/include/c++/v1/__functional/bind_front.h:14:
auto&& boundSlot =
-# if __cpp_lib_bind_front // Needs Apple Clang 13 (other platforms are fine)
+# if __cpp_lib_bind_front && \
-+ !defined(__FreeBSD_version) || __FreeBSD_version >= 1301504
++ (!defined(__FreeBSD_version) || __FreeBSD_version >= 1301504)
+ // This requires LLVM >= 14, this only works with libc++ commit
+ // https://reviews.llvm.org/D107199.
std::bind_front(slot, context);