View | Details | Raw Unified | Return to bug 282522
Collapse All | Expand All

(-)b/devel/folly/Makefile (+1 lines)
Lines 1-6 Link Here
1
PORTNAME=	folly
1
PORTNAME=	folly
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2024.10.28.00
3
DISTVERSION=	2024.10.28.00
4
PORTREVISION=	1
4
CATEGORIES=	devel
5
CATEGORIES=	devel
5
6
6
MAINTAINER=	yuri@FreeBSD.org
7
MAINTAINER=	yuri@FreeBSD.org
(-)a/devel/folly/files/patch-folly_io_Cursor.h (-18 lines)
Removed Link Here
1
--- folly/io/Cursor.h.orig	2024-09-07 03:24:18 UTC
2
+++ folly/io/Cursor.h
3
@@ -677,6 +677,7 @@ class CursorBase {
4
     return ByteRange{data(), available};
5
   }
6
 
7
+#if !defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 190000
8
   /**
9
    * Alternate version of peekBytes() that returns a std::basic_string_view
10
    * instead of a ByteRage.
11
@@ -687,6 +688,7 @@ class CursorBase {
12
     auto bytes = peekBytes();
13
     return {bytes.data(), bytes.size()};
14
   }
15
+#endif // _LIBCPP_VERSION < 190000
16
 
17
   /**
18
    * Alternate version of peekBytes() that returns a std::pair

Return to bug 282522