git: 7f20fa390842 - main - devel/folly: update 2026.08.31.00 → 2026.10.05.00
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Oct 2026 20:00:47 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7f20fa39084216cfcafea3432fe6abcb6b72b6c5
commit 7f20fa39084216cfcafea3432fe6abcb6b72b6c5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-05 19:58:26 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-05 20:00:41 +0000
devel/folly: update 2026.08.31.00 → 2026.10.05.00
---
devel/folly/Makefile | 5 ++---
devel/folly/distinfo | 6 +++---
devel/folly/files/patch-CMake_FollyFunctions.cmake | 10 +++++-----
devel/folly/files/patch-CMake_folly-deps.cmake | 6 +++---
devel/folly/files/patch-folly_portability_SysSyscall.h | 8 ++++----
devel/folly/pkg-plist | 5 +++--
6 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/devel/folly/Makefile b/devel/folly/Makefile
index bb20e0dd6917..53f2e2e4a94c 100644
--- a/devel/folly/Makefile
+++ b/devel/folly/Makefile
@@ -1,7 +1,6 @@
PORTNAME= folly
DISTVERSIONPREFIX= v
-DISTVERSION= 2026.08.31.00
-PORTREVISION= 1
+DISTVERSION= 2026.10.05.00
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -43,7 +42,7 @@ GH_ACCOUNT= facebook
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= FREEBSD_BUILD_EXAMPLES FREEBSD_FOLLY_USE_SYMBOLIZER # enabling symbolizer causes undefined symbol _r_debug, see https://github.com/facebook/folly/issues/1373
-#CMAKE_OFF+= FOLLY_USE_JEMALLOC # Build fails with FOLLY_USE_JEMALLOC=OFF, see https://github.com/facebook/folly/issues/1893
+#CMAKE_OFF+= FOLLY_USE_JEMALLOC # Build fails with FOLLY_USE_JEMALLOC=OFF, see https://github.com/facebook/folly/issues/2721, https://github.com/facebook/folly/issues/1893
CXXFLAGS+= -fPIC
CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT
diff --git a/devel/folly/distinfo b/devel/folly/distinfo
index d1ffd8cbf565..e2e2264f3992 100644
--- a/devel/folly/distinfo
+++ b/devel/folly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788581770
-SHA256 (facebook-folly-v2026.08.31.00_GH0.tar.gz) = f9fc4e2c73d4ec178dce969f6c493790b29f44d915c54586fa642f26358e823f
-SIZE (facebook-folly-v2026.08.31.00_GH0.tar.gz) = 5350595
+TIMESTAMP = 1791218612
+SHA256 (facebook-folly-v2026.10.05.00_GH0.tar.gz) = 403a1180bb6ade75182c8609929463cbb14bfe63696e39ab86bd691446fe76ec
+SIZE (facebook-folly-v2026.10.05.00_GH0.tar.gz) = 5607342
diff --git a/devel/folly/files/patch-CMake_FollyFunctions.cmake b/devel/folly/files/patch-CMake_FollyFunctions.cmake
index d44043ee965f..d5a4d0e3898a 100644
--- a/devel/folly/files/patch-CMake_FollyFunctions.cmake
+++ b/devel/folly/files/patch-CMake_FollyFunctions.cmake
@@ -1,11 +1,11 @@
---- CMake/FollyFunctions.cmake.orig 2026-01-26 12:08:28 UTC
+--- CMake/FollyFunctions.cmake.orig 2026-10-05 14:18:47 UTC
+++ CMake/FollyFunctions.cmake
-@@ -587,7 +587,7 @@ function(folly_add_library)
- )
- else()
+@@ -652,7 +652,7 @@ function (folly_add_library)
+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
+ else ()
# For static builds: create STATIC library (individual .a file for granular linking)
- add_library(${_target_name} STATIC $<TARGET_OBJECTS:${_obj_target}>)
+ add_library(${_target_name} $<TARGET_OBJECTS:${_obj_target}>)
set_property(TARGET ${_target_name} PROPERTY VERSION ${PACKAGE_VERSION})
- target_include_directories(${_target_name}
+ target_include_directories(
diff --git a/devel/folly/files/patch-CMake_folly-deps.cmake b/devel/folly/files/patch-CMake_folly-deps.cmake
index 5ff811ea124a..deacc52735d4 100644
--- a/devel/folly/files/patch-CMake_folly-deps.cmake
+++ b/devel/folly/files/patch-CMake_folly-deps.cmake
@@ -1,11 +1,11 @@
---- CMake/folly-deps.cmake.orig 2026-05-11 14:37:10 UTC
+--- CMake/folly-deps.cmake.orig 2026-10-05 14:18:47 UTC
+++ CMake/folly-deps.cmake
-@@ -191,7 +191,7 @@ if (NOT WIN32 AND NOT APPLE)
+@@ -555,7 +555,7 @@ if (NOT WIN32 AND NOT APPLE)
set(FOLLY_HAVE_BACKTRACE ${Backtrace_FOUND})
set(FOLLY_HAVE_DWARF ${LIBDWARF_FOUND})
if (NOT WIN32 AND NOT APPLE)
- set(FOLLY_USE_SYMBOLIZER ON)
+ set(FOLLY_USE_SYMBOLIZER ${FREEBSD_FOLLY_USE_SYMBOLIZER})
- endif()
+ endif ()
message(STATUS "Setting FOLLY_USE_SYMBOLIZER: ${FOLLY_USE_SYMBOLIZER}")
message(STATUS "Setting FOLLY_HAVE_ELF: ${FOLLY_HAVE_ELF}")
diff --git a/devel/folly/files/patch-folly_portability_SysSyscall.h b/devel/folly/files/patch-folly_portability_SysSyscall.h
index bdaeadd87ca3..8ae7e2f86596 100644
--- a/devel/folly/files/patch-folly_portability_SysSyscall.h
+++ b/devel/folly/files/patch-folly_portability_SysSyscall.h
@@ -1,11 +1,11 @@
-- Define FOLLY_SYS_gettid for FreeBSD using SYS_thr_self.
-- FreeBSD does not define SYS_gettid; the fallthrough __NR_gettid is Linux-only
-- and causes compilation failures even in discarded if-constexpr branches.
---- folly/portability/SysSyscall.h.orig 2026-05-12 19:34:09 UTC
+--- folly/portability/SysSyscall.h.orig 2026-10-05 14:18:47 UTC
+++ folly/portability/SysSyscall.h
-@@ -31,6 +31,8 @@
- #define FOLLY_SYS_gettid SYS_thread_selfid
- #elif defined(__EMSCRIPTEN__)
+@@ -38,6 +38,8 @@
+ // linux_syscall() path below returns -1 on Emscripten without invoking it,
+ // so the sentinel value is inert at runtime.
#define FOLLY_SYS_gettid 0
+#elif defined(__FreeBSD__)
+#define FOLLY_SYS_gettid SYS_thr_self
diff --git a/devel/folly/pkg-plist b/devel/folly/pkg-plist
index 8d3409bc8e4f..89414e11d01b 100644
--- a/devel/folly/pkg-plist
+++ b/devel/folly/pkg-plist
@@ -237,7 +237,6 @@ include/folly/container/SparseByteSet.h
include/folly/container/StdBitset.h
include/folly/container/View.h
include/folly/container/WeightedEvictingCacheMap.h
-include/folly/debugging/symbolizer/SymbolCache.h
include/folly/container/detail/BitIteratorDetail.h
include/folly/container/detail/BoolWrapper.h
include/folly/container/detail/F14Defaults.h
@@ -254,7 +253,6 @@ include/folly/container/irange.h
include/folly/container/range_traits.h
include/folly/container/small_vector.h
include/folly/container/sorted_vector_types.h
-include/folly/container/span.h
include/folly/container/tape.h
include/folly/container/test/F14TestUtil.h
include/folly/container/test/TrackingTypes.h
@@ -318,6 +316,7 @@ include/folly/coro/ValueOrFatal.h
include/folly/coro/ViaIfAsync.h
include/folly/coro/WithAsyncStack.h
include/folly/coro/WithCancellation.h
+include/folly/coro/WithMetadata.h
include/folly/coro/detail/Barrier.h
include/folly/coro/detail/BarrierTask.h
include/folly/coro/detail/CurrentAsyncFrame.h
@@ -359,6 +358,7 @@ include/folly/debugging/symbolizer/ElfCache.h
include/folly/debugging/symbolizer/LineReader.h
include/folly/debugging/symbolizer/SignalHandler.h
include/folly/debugging/symbolizer/StackTrace.h
+include/folly/debugging/symbolizer/SymbolCache.h
include/folly/debugging/symbolizer/SymbolizePrinter.h
include/folly/debugging/symbolizer/SymbolizedFrame.h
include/folly/debugging/symbolizer/Symbolizer.h
@@ -956,6 +956,7 @@ include/folly/synchronization/AtomicNotification-inl.h
include/folly/synchronization/AtomicNotification.h
include/folly/synchronization/AtomicRef.h
include/folly/synchronization/AtomicStruct.h
+include/folly/synchronization/AtomicTraits.h
include/folly/synchronization/AtomicUtil-inl.h
include/folly/synchronization/AtomicUtil.h
include/folly/synchronization/Baton.h